Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Srinin
Community profile Srinin Level 2
Job title here
Location here
2 BADGES
Level 2

Level 2

Learn more
Joined the community 04-12-2014 12:03:47 PM
Offline
Top badges earned by Srinin
Customize the badges you want to showcase on your profile
Re: On Deletion, how to get the resource details before it gets deleted?
Avatar
Validate 1
Level 2
Srinin
Level 2

Like

1 like

Total Posts

22 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
Srinin
- Adobe Experience Manager
Scott,Thanks for your reply. Please let me know once the HELPX article is available. I already built a custom workflow with only one workflow step which triggers on node delete. But the resource is getting deleted by the time it comes to the workflow. Should I add one more step for deletion? thanksSrini

Views

698

Likes

0

Replies

0
Re: On Deletion, how to get the resource details before it gets deleted?
Avatar
Validate 1
Level 2
Srinin
Level 2

Like

1 like

Total Posts

22 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
Srinin
- Adobe Experience Manager
Hi,Here my case is, the content which I am deleting is unpublished content. So in this case, Preprocessor won't get triggered. Any other option I have?

Views

699

Likes

0

Replies

0
On Deletion, how to get the resource details before it gets deleted?
Avatar
Validate 1
Level 2
Srinin
Level 2

Like

1 like

Total Posts

22 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
Srinin
- Adobe Experience Manager
Hi,On deletion of a resource, I need get a property from the resource BEFORE the resource becoming null.I tried this through Event Listener. In the event listener, the resource is null. I tried to achieve this through on delete -> launcher -> workflow. Here also the resource is null. But in this workflow, I have only one processor which tries to get the resource details. Here can I get the resource details before it gets deleted from the workflow? Actual deletion is done in OOTB code, how can mo...

Views

2.5K

Like

1

Replies

9
Method call of OSGi components which implements the same interface
Avatar
Validate 1
Level 2
Srinin
Level 2

Like

1 like

Total Posts

22 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
Srinin
- Adobe Experience Manager
Hi,I have two OSGI Component classes with implementing the same interface.Class WordsValidatorImpl implements ContentValidators { void validate() {}}Class ActivationValidatorImpl implements ContentValidators { void validate() {}}I need call the validate() method on both the classes. How to do that?@Reference ContentValidators contentValidators;If I call contentValidators.validate() only method in one component is getting called, instead of two. thanksSrini

Views

187

Likes

0

Replies

2
Re: Two bundles looking for same package, but different versions
Avatar
Validate 1
Level 2
Srinin
Level 2

Like

1 like

Total Posts

22 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
Srinin
- Adobe Experience Manager
Hello,I am still these issues. I created a sample project here [1]. If you could import this project to Eclipse and build to your local, you can understand the issues I am facing. [1] https://github.com/nsrini/april-projectIf you build to your local AEM, you could see that sideadmin won't respond and errors in the error.log. If anyone could resolve the errors by adjusting the pom files, I really appreciate. I use AEM 6.0 SP2.Please let me know if you have any questions.thanksSrini

Views

448

Likes

0

Replies

0
Re: Two bundles looking for same package, but different versions
Avatar
Validate 1
Level 2
Srinin
Level 2

Like

1 like

Total Posts

22 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
Srinin
- Adobe Experience Manager
Jörg,I almost did like that only. I have a dependencies bundle with all the 3rd party dependencies. My concerns are: The version conflict I talked about, is not there if I restart the author instance. But If I do the build, the version conflict issues comes back.Why?ThanksSrini

Views

445

Likes

0

Replies

0
Re: Two bundles looking for same package, but different versions
Avatar
Validate 1
Level 2
Srinin
Level 2

Like

1 like

Total Posts

22 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
Srinin
- Adobe Experience Manager
Hi MC,Here are more details:My code uses package X (AWS - 3rd party package) uses org.apache.commons.lang 2.6.0My code uses package Y (Adobe - 3rd party package) uses org.apache.commons.lang 2.4I can't adjust versions in either bundle X or Y. Is there anything I can do in my pom files. Excluding package import doesn't help.

Views

479

Likes

0

Replies

0
Re: Two bundles looking for same package, but different versions
Avatar
Validate 1
Level 2
Srinin
Level 2

Like

1 like

Total Posts

22 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
Srinin
- Adobe Experience Manager
Hi Scott,I am Sorry for the confusion. Here is the actual error. This com.day.cq.commons is using the old version. And this refers cq-commons-5.7.14.jar. I need to change the version Manifest of this file.Chain 1: com.mynews.my-wcm-bundle [397.825] import: (&(osgi.wiring.package=org.apache.commons.lang.math)(version>=2.6.0)(!(version>=3.0.0))) | export: osgi.wiring.package=org.apache.commons.lang.math com.mynews.my-wcm-dependencies-bundle [398.824]Chain 2: com.mynews.my-wcm-bundle [397.825] impo...

Views

449

Likes

0

Replies

0
Re: Two bundles looking for same package, but different versions
Avatar
Validate 1
Level 2
Srinin
Level 2

Like

1 like

Total Posts

22 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
Srinin
- Adobe Experience Manager
Hi Scott,Thanks for your reply. Here we have two bundles, which bundle you were talking about?com.day.commons.osgi.wrapper.commons-lang2 OR com.sample.test-wcm-dependencies-bundle ?com.sample.test-wcm-dependencies-bundle generates every time I do the build. So we can't change Manifest every time here.So, I think, you were referring this com.day.commons.osgi.wrapper.commons-lang2.thanksSrini

Views

449

Likes

0

Replies

0
My local Author instance is getting down automatically
Avatar
Validate 1
Level 2
Srinin
Level 2

Like

1 like

Total Posts

22 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
Srinin
- Adobe Experience Manager
Hi,I am trying to make some of the Amazon Web Services jars available to AEM by adding them in the dependency bundle pom file. I am almost succeeded in this process except one/two issues.But my local author instance is getting down automatically. Probably it doesn't like some of the changes I made to the pom files. But it is not complaining with any errors, except the following error. java.lang.IllegalStateException: Invalid BundleContext. at org.apache.felix.framework.BundleContextImpl.checkVal...

Views

247

Likes

0

Replies

2
Two bundles looking for same package, but different versions
Avatar
Validate 1
Level 2
Srinin
Level 2

Like

1 like

Total Posts

22 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
Srinin
- Adobe Experience Manager
Hi,I have this ERROR:org.osgi.framework.BundleException: Uses constraint violation. Unable to resolve bundle revision com.sample.test-wcm-bundle [397.825] because it is exposed to package 'org.apache.commons.lang.math' from bundle revisions com.sample.test-wcm-dependencies-bundle [398.824] and com.day.commons.osgi.wrapper.commons-lang2 [45.0] via two dependency chains.com.day.commons.osgi.wrapper.commons-lang2 has commons-lang version 2.5, My bundle com.sample.test-wcm-dependencies-bundle needs ...

Views

1.5K

Likes

0

Replies

12
Re: The call to request_for_activation workflow is two times. Why?
Avatar
Validate 1
Level 2
Srinin
Level 2

Like

1 like

Total Posts

22 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
Srinin
- Adobe Experience Manager
I have a simple workflow with just one process. I still see two paths [1] when I activate. I don't see this issue with geometrixx pages. How triggers the workflow with jcr:content payload as well?[1] /content/us/test-page and /content/us/test-page/jcr:content

Views

235

Likes

0

Replies

0
How to find through code, if a given payload is in active workflow?
Avatar
Validate 1
Level 2
Srinin
Level 2

Like

1 like

Total Posts

22 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
Srinin
- Adobe Experience Manager
HiI have a payload path like /content/world/latest-news. I want to check if this page is in any active workflow job queue. How to check that through programing?thanksSrini

Views

255

Likes

0

Replies

2
The call to request_for_activation workflow is two times. Why?
Avatar
Validate 1
Level 2
Srinin
Level 2

Like

1 like

Total Posts

22 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
Srinin
- Adobe Experience Manager
Hi,When I activate a page, the request_for_activation triggers. There are there scenarios:1. I pick a modified/new page then clicked on publish button from the sidekick. Then I see the alert window as you see the attached screenshot. I proceed to activate. But there are TWO jobs getting created with payloads:/content/us/test-page and /content/us/test-page/jcr:content2. In the second scenario, I pick a already published page then clicked on publish button from the sidekick.I proceed to activate. ...

Views

269

Likes

0

Replies

2
Re: How to stop duplicate publishing requests?
Avatar
Validate 1
Level 2
Srinin
Level 2

Like

1 like

Total Posts

22 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
Srinin
- Adobe Experience Manager
Hi Praveen,Is there is any code snippet I can use? I am wondering how to do this customization. What JS I need to override? Thanks in advance!Srini

Views

270

Likes

0

Replies

0
How to stop duplicate publishing requests?
Avatar
Validate 1
Level 2
Srinin
Level 2

Like

1 like

Total Posts

22 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
Srinin
- Adobe Experience Manager
Hi,Sometimes, our authors click the publish icon 5 to 6 times instead of just one time. We don't want to act on these duplicate clicks. What is the best approach to achieve this?ThanksSri

Views

301

Likes

0

Replies

3
Re: URL in the browser gets stripped of after cf#_
Avatar
Validate 1
Level 2
Srinin
Level 2

Like

1 like

Total Posts

22 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
Srinin
- Adobe Experience Manager
I don't see anything in the error.log when we see this issue. We deployed some code, but I don't see any connection between that code and this issue.

Views

312

Likes

0

Replies

0
URL in the browser gets stripped of after cf#_
Avatar
Validate 1
Level 2
Srinin
Level 2

Like

1 like

Total Posts

22 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
Srinin
- Adobe Experience Manager
Hi,Our PROD author, the URL in the browser gets stripped of after cf#_ when we try to save a page, click on a page, etc.The issue occurs intermittently on authors computers. Both on FF and chrome browsers, they have this issue. We can't reproduce the issue on demand, as it is random. Our environment is AEM6.0 with SP2. No JavaScript errors in the FireBug. We use latest version of browsers. We have this issue, via dispatcher and directly on author.thanksSrini

Views

357

Likes

0

Replies

3
Re: Dispatcher TTL
Avatar
Validate 1
Level 2
Srinin
Level 2

Like

1 like

Total Posts

22 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
Srinin
- Adobe Experience Manager
Hi Jörg,My Dispathcer module version: Communique/4.2.1 Hi Feike,The response headers:Accept-Ranges:bytesConnection:Keep-AliveContent-Length:44899Content-Type:text/htmlDate:Mon, 09 Jan 2017 18:33:08 GMTETag:W/"af63-545ad9968e340"Keep-Alive:timeout=5, max=100Last-Modified:Mon, 09 Jan 2017 18:33:09 GMTServer:Apache/2.4.18 (Unix) Communique/4.2.1The request headers:Accept:text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8Accept-Encoding:gzip, deflate, sdch, brAccept-Language:...

Views

835

Likes

0

Replies

3
Dispatcher TTL
Avatar
Validate 1
Level 2
Srinin
Level 2

Like

1 like

Total Posts

22 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
Srinin
- Adobe Experience Manager
Hi,I am trying to implement Dispatcher TTL based on this: https://adobe-consulting-services.github.io/acs-aem-commons/features/dispatcher-ttl.htmlIt is doing something, but that is not enough. 1. When the .ttl file is created, it creates with without time. Is that expected?-rw-r--r-- 1 _www _www 0 Jan 6 2017 politics.html.ttl2. Most of the times the .ttl files behave differently. See here, what it got changed to. Why it got changed to 1969 date?-rw-r--r-- 1 _www _www 0 Dec 31 1969 politics.html....

Views

1.5K

Likes

0

Replies

6
Re: How to decline image upload when the size of the image is more than the expected?
Avatar
Validate 1
Level 2
Srinin
Level 2

Like

1 like

Total Posts

22 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
Srinin
- Adobe Experience Manager
Thanks for quick reply!

Views

234

Likes

0

Replies

0
How to decline image upload when the size of the image is more than the expected?
Avatar
Validate 1
Level 2
Srinin
Level 2

Like

1 like

Total Posts

22 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
Srinin
- Adobe Experience Manager
Hi,I want to stop the image upload and show an alert message to the author when the image size is more than certain number?thanksSrini

Views

631

Likes

0

Replies

3
Likes from