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?
Avatar

LinearGradient

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...

Views

724

Likes

0

Replies

0
JPorifler, YourKit, etc.
Avatar

LinearGradient

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.

Views

679

Likes

0

Replies

0
Please write CQ5 Books FFS!
Avatar

LinearGradient

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!

Views

1.8K

Likes

0

Replies

4
Is there a way to configure a replication agent/queue to prevent duplicate items in the queue?
Avatar

LinearGradient

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...

Views

844

Likes

0

Replies

0
Is there a way to script clustering a bunch of CQ5 servers without having to restart the instances a couple of time?
Avatar

LinearGradient

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...

Views

830

Likes

0

Replies

0
Is there a way to script clustering a bunch of CQ5 servers without having to restart the instances a couple of time?
Avatar

LinearGradient

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...

Views

710

Likes

0

Replies

1
Forum broken: My profile's activity page is not getting updated. I also don't receive email notifications anymore.
Avatar

LinearGradient

LinearGradient
- Adobe Experience Cloud
Please fix.Formatting is also broken in the Activity page:http://imgur.com/MFPQTCy

Views

1.5K

Likes

0

Replies

1
Is description meta tag generation buggy?
Avatar

LinearGradient

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.

Views

3.4K

Likes

0

Replies

5
Please write CQ5 Books FFS!
Avatar

LinearGradient

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!

Views

1.6K

Like

1

Replies

2
JPorifler, YourKit, etc.
Avatar

LinearGradient

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.

Views

1.6K

Likes

0

Replies

1
Is there a way to configure a replication agent/queue to prevent duplicate items in the queue?
Avatar

LinearGradient

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...

Views

690

Likes

0

Replies

1
The "linkchecker" transformer and shortening of long links
Avatar

LinearGradient

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...

Views

714

Likes

0

Replies

1
Re: Does CQ provide a way to change or strip the suffix from the current URL but preserve the query params?
Avatar

LinearGradient

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.

Views

959

Likes

0

Replies

0
Does CQ provide a way to change or strip the suffix from the current URL but preserve the query params?
Avatar

LinearGradient

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

Views

1.1K

Likes

0

Replies

3
Re: How to pass the current user's credentials to ResourceResolverFactory.getResourceResolver?
Avatar

LinearGradient

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...

Views

1.1K

Likes

0

Replies

0
How to pass the current user's credentials to ResourceResolverFactory.getResourceResolver?
Avatar

LinearGradient

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....

Views

1.9K

Likes

0

Replies

4
/etc/map.publish, URL rewriting, one dispatcher, and multiple domains pointing to the same web site: is it possible?
Avatar

LinearGradient

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...

Views

1.4K

Like

1

Replies

1
A couple of questions about deletion and deactivation of nodes
Avatar

LinearGradient

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?

Views

686

Likes

0

Replies

1
Re: Feature request: use special icons for nodes with reserved/special names
Avatar

LinearGradient

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

Views

985

Likes

0

Replies

0
Feature request: use special icons for nodes with reserved/special names
Avatar

LinearGradient

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...

Views

1.0K

Likes

0

Replies

2
How to configure /etc/map to generate domain-less URLs?
Avatar

LinearGradient

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.

Views

854

Likes

0

Replies

1
aemcasts.com is slow and sluggish
Avatar

LinearGradient

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.

Views

1.1K

Likes

0

Replies

3
Re: Performance of Search Predicates vs SQL2 queries
Avatar

LinearGradient

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.

Views

1.3K

Likes

0

Replies

0
Performance of Search Predicates vs SQL2 queries
Avatar

LinearGradient

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.

Views

3.0K

Likes

0

Replies

4
Re: QueryBuilder's API, p.limit = vs p.limit = 1
Avatar

LinearGradient

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.

Views

1.2K

Likes

0

Replies

0
QueryBuilder's API, p.limit = vs p.limit = 1
Avatar

LinearGradient

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.

Views

2.8K

Likes

0

Replies

3
Feature Request (kind of): please provide AEM docs (JavaDocs, guides, tutorials, Widget APIs, etc.) as downloadable bundles for Zeal and Dash apps
Avatar

LinearGradient

LinearGradient
- Adobe Experience Manager
Here are links to the apps, respectively:http://kapeli.com/dashhttp://zealdocs.orgThanks.

Views

710

Likes

0

Replies

1
Re: Transactions in CRX.
Avatar

LinearGradient

LinearGradient
- Adobe Experience Manager
Thanks Justin for the clarification.

Views

747

Likes

0

Replies

0
Re: Transactions in CRX.
Avatar

LinearGradient

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.

Views

769

Likes

0

Replies

0
Re: Transactions in CRX.
Avatar

LinearGradient

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...

Views

762

Likes

0

Replies

0