since ‎27-10-2012
‎10-12-2019
LinearGradient
Level 3
Could you please kick off a Reddit style AMA with the supervisor/project manager of these forums? LinearGradient - Adobe Experience Manager Forms
I have a number of complaints, suggestions, and I want to discuss it with him, in hope of converting this forum to a pleasant place that satisfies high expectations of developers (like me) when they want to ask questions or contribute to this site.Excuse my sharp tongue, but this forum is a concrete instance of the "lipsticking a big" expression.I mean how many bugs (some fixed now) I have encountered in the past couple of months is just atrocious:Slow sign in process. Situation is better now, b...
718
Views
0
Likes
0
Answers and Comments
JPorifler, YourKit, etc. LinearGradient - Adobe Experience Manager Forms
I am looking for a powerful profiler that can be configured for our CQ installation, on all our environments from dev to prod.Something with minimal performance impact that can be connected to remotely too.Any suggestions in this regards?Thanks in advance.
673
Views
0
Likes
0
Answers and Comments
Please write CQ5 Books FFS! LinearGradient - Adobe Experience Manager Forms
A book for component developers and a book for DevOps aspects of the products.For god's sake, CQ has been in development since 2000 and something and we still don't have a developers/devops guide for it. Why o why!?PLEASE WRITE A CQ 5/SLING BOOK! OR WRITE A DOZEN OF THEM. JUST PLEASE WRITE!
1745
Views
0
Likes
4
Answers and Comments
Is there a way to configure a replication agent/queue to prevent duplicate items in the queue? LinearGradient - Adobe Experience Cloud
Hi,Out of the box, when a user publishes a site multiple times very quickly, the site's nodes can end up multiple times in the queue. This is especially true if the user does this when non of the site's nodes are replicated before.Is there a way to configure the queue so that when an item that is already in the queue is to be added to queue once again, the queue prevents the second instance to be added (i.e. to behave like a unique queue)?A solution that might work even better for us is that, pr...
838
Views
0
Likes
0
Replies
Is there a way to script clustering a bunch of CQ5 servers without having to restart the instances a couple of time? LinearGradient - Adobe Experience Cloud
Hi,In CRX Clustering, the instructions for setting up a cluster are outlined as:Copy the files crx-quickstart-*.jar and and license.properties to the desired directory.Start the instance: java -Xmx512m -jar *.jarVerify that the instance is up and running, then stop the instance.In the file crx-quickstart/repositorycluster.properties, add the IP address of the slave instance you are adding below (if that slave is on a different machine, otherwise this step is not needed).Stop the instance.If a sh...
823
Views
0
Likes
0
Replies
Is there a way to script clustering a bunch of CQ5 servers without having to restart the instances a couple of time? LinearGradient - Adobe Experience Manager
Hi,In CRX Clustering, the instructions for setting up a cluster are outlined as:Copy the files crx-quickstart-*.jar and and license.properties to the desired directory.Start the instance: java -Xmx512m -jar *.jarVerify that the instance is up and running, then stop the instance.In the file crx-quickstart/repositorycluster.properties, add the IP address of the slave instance you are adding below (if that slave is on a different machine, otherwise this step is not needed).Stop the instance.If a sh...
709
Views
0
Likes
1
Answers and Comments
Forum broken: My profile's activity page is not getting updated. I also don't receive email notifications anymore. LinearGradient - Adobe Experience Cloud
Please fix.Formatting is also broken in the Activity page:http://imgur.com/MFPQTCy
1464
Views
0
Likes
1
Replies
Is description meta tag generation buggy? LinearGradient - Adobe Experience Manager
So, by default here's how CQ generates the description meta tag: "<%=xs%>>This in turn converts all spaces to Apparently search engines don't like this. Interestingly on Adobe's home page, the description content is not escaped so aggressively: Has anybody else here had SEO issues with the out of the box meta description generation?As far as I can tell, xssAPI.encodeForHTMLAttr is buggy, because there's no need to escape white space in an HTML attribute.
3407
Views
0
Likes
5
Replies
Please write CQ5 Books FFS! LinearGradient - Adobe Experience Manager
A book for component developers and a book for DevOps aspects of the products.For god's sake, CQ has been in development since 2000 and something and we still don't have a developers/devops guide for it. Why o why!?PLEASE WRITE A CQ 5/SLING BOOK! OR WRITE A DOZEN OF THEM. JUST PLEASE WRITE!
1573
Views
1
Like
2
Replies
JPorifler, YourKit, etc. LinearGradient - Adobe Experience Manager
I am looking for a powerful profiler that can be configured for our CQ installation, on all our environments from dev to prod.Something with minimal performance impact that can be connected to remotely too.Any suggestions in this regards?Thanks in advance.
1594
Views
0
Likes
1
Answers and Comments
Is there a way to configure a replication agent/queue to prevent duplicate items in the queue? LinearGradient - Adobe Experience Manager
Hi,Out of the box, when a user publishes a site multiple times very quickly, the site's nodes can end up multiple times in the queue. This is especially true if the user does this when non of the site's nodes are replicated before.Is there a way to configure the queue so that when an item that is already in the queue is to be added to queue once again, the queue prevents the second instance to be added (i.e. to behave like a unique queue)?A solution that might work even better for us is that, pr...
690
Views
0
Likes
1
Answers and Comments
The "linkchecker" transformer and shortening of long links LinearGradient - Adobe Experience Manager
Hi,Does the linkchecker transformer, apart from checking broken links, transform long links in generated HTML pages to their short forms?For example, we have this configuration in our /etc/map.publish:{ "jcr:created":"Mon Mar 31 2014 22:17:42 GMT+1100", "jcr:primaryType":"nt:folder", "jcr:createdBy":"admin", "http":{ "jcr:created":"Mon Mar 31 2014 22:17:42 GMT+1100", "jcr:primaryType":"nt:folder", "jcr:createdBy":"admin", "site-1":{ "sling:internalRedirect":[ "/content/myapp/e4/b0/70/b06c95be-f9...
714
Views
0
Likes
1
Answers and Comments
Re: Does CQ provide a way to change or strip the suffix from the current URL but preserve the query params? LinearGradient - Adobe Experience Manager
We have a requirement to implement pagination and to use path variables rather than query parameters (e.g. /books/1, /books/2, etc. rather than /books?page=1, /books?page=2, etc.)In this case, /1, /2, etc. are resolved as suffixes by CQ. So I need to extract the suffix and replace it. At the moment I am doing it manually, but it would be nice if there was a way to transform the current URL into another one with selector, suffix, etc. replaced with different values.
959
Views
0
Likes
0
Answers
Does CQ provide a way to change or strip the suffix from the current URL but preserve the query params? LinearGradient - Adobe Experience Manager
Hi,I am looking for a way to transform the current request URL into one with a different suffix and preserve everything else.Does CQ (or Sling) has an API for doing this? Or do I have to do it manually, maybe with some help from slingRequest.getRequestPathInfo()?Thanks,Behrang
1142
Views
0
Likes
3
Answers and Comments
Re: How to pass the current user's credentials to ResourceResolverFactory.getResourceResolver? LinearGradient - Adobe Experience Manager
Hi Will,Thanks for your reply but I am afraid that doesn't answer my question. Maybe my question is not clear enough. Let me rephrase.There are some articles (for example Getting Resources and Properties in Sling) about how one can access resources, etc. in Sling. However, for example in the given article, access to JCR is done through an administrative resource resolver.Now I have two questions about this:If a request sent by a non-admin user leads to a write operation via an administrative res...
1096
Views
0
Likes
0
Answers
How to pass the current user's credentials to ResourceResolverFactory.getResourceResolver? LinearGradient - Adobe Experience Manager
I want to define an abstract service that subclasses can extend. In the abstract service I want to define a getResourceResolver() method that gets a resource resolver authenticated with the current user.How can I pass the current user's credentials to ResourceResolverFactory.getResourceResolver considering that I don't have access to the request object in the service?Also currently I am acquiring a Session like this:protected ResourceResolver getResourceResolver() { try { return resolverFactory....
1916
Views
0
Likes
4
Answers and Comments
/etc/map.publish, URL rewriting, one dispatcher, and multiple domains pointing to the same web site: is it possible? LinearGradient - Adobe Experience Manager
Hi,Let's assume that we have a website stored under /content/acme/site-1.We want this site to be accessible via preview-site-1.acmesites.com as well as site-1.com.Our deployment has only one dispatcher in front of publisher instances.Right now this is causing some issues for us: As content for both preview-site-1.acmesites.com and site-1.com are both stored under, e.g., /htdocs/acme/site-1, the content for the domains are over-writing each other.So when there's a link such as Contact Us in the h...
1425
Views
1
Like
1
Answers and Comments
A couple of questions about deletion and deactivation of nodes LinearGradient - Adobe Experience Manager
Hi,I had a couple of questions regarding deletion and deactivation of nodes.Is there an API call for both deleting and deactivating a node?Apart from event handling options, are there any other ways to configure CQ5 so that when descendants of a node N are added/remove/changed on an author instance, the changes are synced to the publish instance? For example by using a special property on the node?
686
Views
0
Likes
1
Answers and Comments
Re: Feature request: use special icons for nodes with reserved/special names LinearGradient - Adobe Experience Manager
Scott,My User Activity page has not been updated since 1 or 2 months ago. Is this a known issue? I can't see a dozen of my posts on that page.Searching the forum itself, at least one of my questions is not showing up. I managed to find that post but my User Activity page issue still persists.Cheers,Behrang
984
Views
0
Likes
0
Answers
Feature request: use special icons for nodes with reserved/special names LinearGradient - Adobe Experience Manager
Last week we encountered a bug that took us a few days to fix. We had accidentally named an nt:folder node config and non-admin users didn't have read access to its children. Interestingly this node name had been chosen by one of our CQ5 experts. After struggling for hours and tearing apart all our provisioning scripts, the same person who had caused the bug had a light-bulb moment and remembered that CQ5 treats nodes named config in a special manner.Had the node been rendered with a special ico...
1016
Views
0
Likes
2
Answers and Comments
How to configure /etc/map to generate domain-less URLs? LinearGradient - Adobe Experience Manager
Hi,Right now we have configured /etc/map to generate URLs in the form of www.acme.com/about, www.acme.com/services, etc. Is there a way to configure it to generate URLs in the forum of /about, /services instead?Thanks.
854
Views
0
Likes
1
Answers and Comments
aemcasts.com is slow and sluggish LinearGradient - Adobe Experience Manager
I did a whois on aemcasts.com and looks like it is owned by Adobe.However it is very slow and sluggish. It has these annoying hiccups once every 10-20 seconds or so.Also would it be possible to make the episodes downloadable? Or at least upload them to YouTube?Thanks.
1065
Views
0
Likes
3
Answers and Comments
Re: Performance of Search Predicates vs SQL2 queries LinearGradient - Adobe Experience Manager
Thanks for the comment Ove.Just one question: is there anywhere officially indicated that Predicates are converted to SQL 2 queries? Because a colleague of mine thought the reverse is true: that SQL 2 queries are converted to predicates in the backend.
1266
Views
0
Likes
0
Answers
Performance of Search Predicates vs SQL2 queries LinearGradient - Adobe Experience Manager
Hi,Are there any performance differences between Search Predicates and SQL2 queries in CQ 5.6?Which one is the recommended API for querying for specific nodes in the CRX?Thanks.
3027
Views
0
Likes
4
Answers and Comments
Re: QueryBuilder's API, p.limit = vs p.limit = 1 LinearGradient - Adobe Experience Manager
Thanks for the reply Ove. But what's the difference between "unlimited with intention" "the default unlimited". And are they documented anywhere?Thanks.
1217
Views
0
Likes
0
Answers
QueryBuilder's API, p.limit = vs p.limit = 1 LinearGradient - Adobe Experience Manager
When using com.day.cq.search.QueryBuilder, is there any difference between p.limit = 0 and p.limit = -1?Seems to me that both behave the same, but in I could only find p.limit = -1 stated in the docs.
2778
Views
0
Likes
3
Answers and Comments
Feature Request (kind of): please provide AEM docs (JavaDocs, guides, tutorials, Widget APIs, etc.) as downloadable bundles for Zeal and Dash apps LinearGradient - Adobe Experience Manager
Here are links to the apps, respectively:http://kapeli.com/dashhttp://zealdocs.orgThanks.
709
Views
0
Likes
1
Answers and Comments
Re: Transactions in CRX. LinearGradient - Adobe Experience Manager
Thanks Justin for the clarification.
728
Views
0
Likes
0
Answers
Re: Transactions in CRX. LinearGradient - Adobe Experience Manager
Jorg,There are scenarios in which we call some CQ APIs, and these APIs call save internally. For example, PageManager.touch saves the node immediately.So even if I don't call session.save in my code, some changes might still be committed without using an explicit transaction manager.As we are using TarPM and it is transactional, is there a way to expose a JCR transaction manager, etc. to have total, explicit control over transactions?Thanks.
750
Views
0
Likes
0
Answers
Re: Transactions in CRX. LinearGradient - Adobe Experience Manager
By multi-threaded I was referring to an app server, in which each request is handled by its own thread.What happens in a scenario like this:Request 1 Request 2 ======================================================================================= create node at /content/foo with property p = FOO_1 create node at /content/bar with property p = BAR_2 create node at /content/bar with property p = BAR_1 create node at /content/foo with property p = FOO_2 session.save() session.save()When the sessio...
744
Views
0
Likes
0
Answers