since ‎13-04-2015
‎07-05-2020
yaraslaud208334
Level 2
Re: Sling job not being processed by custom consumer
Avatar

yaraslaud208334

yaraslaud208334
- Adobe Experience Manager
The root cause of the problem that custom objects are prohibited from being deserialized. See more at stackoverflow answer:aem - Sling job not being processed with custom serializable property - Stack Overflow

Views

720

Likes

0

Replies

0
Re: AEM 6.4 asset renditions, is it safe to remove 140x100 rendition?
Avatar

yaraslaud208334

yaraslaud208334
- Adobe Experience Manager Assets
Hello Vari,As far as I know code provided by you is extJS code that is used only by classic UI.As I could see 319x319 rendition is used in content finder for Touch UI:--Yaraslau

Views

2.0K

Likes

0

Replies

0
AEM 6.4 asset renditions, is it safe to remove 140x100 rendition?
Avatar

yaraslaud208334

yaraslaud208334
- Adobe Experience Manager Assets
By default DAM Update Asset generate the following structure of renditions:I have verified our request log, where I could see all renditions except 140x100 are used on authoring instance.Is it safe to remove 140x100 rendition? Is it used by default AEM components? Is it safe to remove that rendition if we use only Touch UI?

Views

2.4K

Likes

0

Replies

2
Re: Sling job not being processed by custom consumer
Avatar

yaraslaud208334

yaraslaud208334
- Adobe Experience Manager
I have the same issue, restart haven't help me. AEM 6.4.3

Views

576

Likes

0

Replies

0
Re: /serveStaleOnError doesn't work for 502 and 504
Avatar

yaraslaud208334

yaraslaud208334
- Adobe Experience Manager
Hello Jörg,Yes I was verifying that files are cashed before I request it, but only 503 was returning content from cache.When I was requesting resource with 502 and 504, cache was deleted and 502/504 status was returned on dispacherThank you,Yaraslau

Views

561

Likes

0

Replies

0
/serveStaleOnError doesn't work for 502 and 504
Avatar

yaraslaud208334

yaraslaud208334
- Adobe Experience Manager
According to How to serve stale content in case no render is available I have configured /serveStaleOnError on our dispatcher(apache 2.2 dispathcer 4.2.3/4.2.2).For testing purpose I've created the following page: Throwing an Exception Throwing an Exception <% response.sendError(503, "test failure" ); %> serveStaleOnError works fine for 503:And doesn't work for 504,502:What am I doing wrong? Should anything else be configured?

Views

780

Likes

0

Replies

3
Re: How to get jcr:content of first level child nodes using QueryManager
Avatar

yaraslaud208334

yaraslaud208334
- Adobe Experience Manager
We use query manager, because generated query is much more bigger. I just show part of it

Views

1.0K

Likes

0

Replies

0
How to get jcr:content of first level child nodes using QueryManager
Avatar

yaraslaud208334

yaraslaud208334
- Adobe Experience Manager
I need to get only first level child jcr:content node(`/content/qwe/shows/{showName}/jcr:content` where showName's template is showpage, showpage2 or showpage3)I use the following config for QueryManagerpath=/content/qwe/shows/ path.flat=true 0_property=@jcr:content/cq:template 0_property.1_value=/apps/qwe/templates/showpage 0_property.2_value=/apps/qwe/templates/showpage2 0_property.3_value=/apps/qwe/templates/showpage3Wich equals to the following `XPATH` wich returns cq:Page nodes:/jcr:root/co...

Views

1.5K

Likes

0

Replies

2
Re: How to get page's content info before replication(DELETE)?
Avatar

yaraslaud208334

yaraslaud208334
- Adobe Experience Manager
As I noticed. Preppocessor triggered on delete only for activated pages. This behaviour is ok for me.

Views

671

Likes

0

Replies

0
Re: How to get page's content info before replication(DELETE)?
Avatar

yaraslaud208334

yaraslaud208334
- Adobe Experience Manager
I configured Custom Workflow via Workflow Launcher Configuration on 'removed' Event type. Result the same as for first case.Workflow executed after page has been deleted.

Views

663

Likes

0

Replies

0
How to get page's content info before replication(DELETE)?
Avatar

yaraslaud208334

yaraslaud208334
- Adobe Experience Manager
I need to collect some info from page properties and child nodes properties befor replication(delete) occursIf i implement EventHandler @Component(immediate = true) @Service @Property(name = EventConstants.EVENT_TOPIC, value = ReplicationAction.EVENT_TOPIC) public class RedisVideoUpdaterService implements EventHandler { .................. public void handleEvent(Event event) { ReplicationAction action = ReplicationAction.fromEvent(event); ReplicationActionType actionType = action.getType(); if (...

Views

1.1K

Likes

0

Replies

3
Re: Wrong content type of css files on dispatcher on first request
Avatar

yaraslaud208334

yaraslaud208334
- Adobe Experience Manager
Hi,Thanks a lot.Yaraslau

Views

571

Likes

0

Replies

0
How to migrate replication privelegies from /home to /content in AEM
Avatar

yaraslaud208334

yaraslaud208334
- Adobe Experience Manager
Hi,We have updated CQ 5.3 to AEM 6.0 and have noticed users have no permission to replicate content, because there is used new property `crx:replicate` under `rep:poplicy` node.How can we migrate replication privelegies from `/home/groups/group_or_username/privileges/wcm/core/privileges/replicate` to `/content/rep:policy/allow` node?

Views

265

Likes

0

Replies

0
Re: Wrong content type of css files on dispatcher on first request
Avatar

yaraslaud208334

yaraslaud208334
- Adobe Experience Manager
Seems like dispatcher returns wrong css file, and chaches normal variant.

Views

560

Likes

0

Replies

0
Wrong content type of css files on dispatcher on first request
Avatar

yaraslaud208334

yaraslaud208334
- Adobe Experience Manager
When i firstly access to any css file on my dispatcher `Content-Type` of request is `"text/hml"`.After re access to this file request have correct `Content-Type` `"text/css"`How to fix this problem, because akamai chashes first request with wrong content type?

Views

1.3K

Like

1

Replies

3
Re: Cq ui clientlib is not accessible
Avatar

yaraslaud208334

yaraslaud208334
- Adobe Experience Manager
Libs were on publish, but something was corrupted or similar. I just reinstalled it

Views

945

Likes

0

Replies

0
Re: Cq ui clientlib is not accessible
Avatar

yaraslaud208334

yaraslaud208334
- Adobe Experience Manager
You was right. I have installed package with /libs/cq/ui/ content from author and it's ok now. Thanks

Views

945

Likes

0

Replies

0
Cq ui clientlib is not accessible
Avatar

yaraslaud208334

yaraslaud208334
- Adobe Experience Manager
I have util page that used in publish enviromets. HtmlLibraryManager is used to include ui<% HtmlLibraryManager htmlMgr = sling.getService(HtmlLibraryManager.class); if (htmlMgr != null) { htmlMgr.writeCssInclude(slingRequest, out, "cq.wcm.edit"); htmlMgr.writeJsInclude(slingRequest, out, "cq.wcm.edit"); } %>But some requested libs doesn't loaded/libs/cq/ui/widgets.js and /libs/cq/ui/rte.jsThey brokes my page.Also if I will try to acces them http://servername:port/libs/cq/ui/widgets.js , error i...

Views

2.7K

Likes

0

Replies

8
Re: Activation failed using activation tree
Avatar

yaraslaud208334

yaraslaud208334
- Adobe Experience Manager
Hi Pawan,There is problem in org.apache.jsp.libs.cq.replication.components.treeactivation.POST_jsp$Processor.process(POST_jsp.java)ReplicationQueue queue = agent == null ? null : agent.getQueue();int num= queue == null ? 0 : queue.entries().size();Something wrong when queue.entries().size() executed(Throws IllegalStateException), any ideas?Error during processing: java.lang.IllegalStateException: Failed to retrieve path from Item: org.apache.sling.jcr.resource.internal.helper.jcr.JcrItemResource...

Views

600

Likes

0

Replies

0
Activation failed using activation tree
Avatar

yaraslaud208334

yaraslaud208334
- Adobe Experience Manager
I have used Activation Tree( https://docs.adobe.com/docs/en/cq/5-5/wcm/page_publish/tree_activate.html ), but sometimes activation is failed, due to the following exceptionsError during processing: java.lang.IllegalStateException: Failed to retrieve path from Item: Error during processing: com.day.cq.replication.ReplicationException: Unable to create version for /path/to/pageAs you see at first exception there is no concrete item.What is possible reason of those exceptions?

Views

1.4K

Likes

0

Replies

3
Re: Page activation(using siteadmin) is too long
Avatar

yaraslaud208334

yaraslaud208334
- Adobe Experience Manager
Hi, I have no any Replication Queue, there is no pages in queue to be activated. Loading bar is appeared before page activation enters queueThanks.

Views

867

Likes

0

Replies

0
Re: Page activation(using siteadmin) is too long
Avatar

yaraslaud208334

yaraslaud208334
- Adobe Experience Manager
There was used some long-runned XPATH queries, I just have substituted them with SQL2 query. Now preActivateValidaror exetutes for a 500ms.

Views

648

Likes

0

Replies

0
Page activation(using siteadmin) is too long
Avatar

yaraslaud208334

yaraslaud208334
- Adobe Experience Manager
Hi,I have page with a lot amoun of content. After activation button is pressed ,loading bar is shown for a 2-3 mins, activation response is pending for a 2-3 mins.[img]http://i.stack.imgur.com/cWYhk.png[/img]If i use curl command :curl -u admin:admin -F cmd=activate -F ignoredeactivated=false -F onlymodified=false -F path=/path/topage http://server:port//etc/replication/treeactivation.htmlOr http://server:port/etc/replication/treeactivation.htmlPage will be activated in a few mills.If I use side...

Views

1.9K

Likes

0

Replies

4
Re: On/Off time(datetime field) doesn't cleared after cancel button is pressed
Avatar

yaraslaud208334

yaraslaud208334
- Adobe Experience Manager
I was debuggin and find out strange behavior of isApplyDefault method in \ibs\cq\ui\widgets\source\ext\override\widgets\form\Field.js. It is compare created and modefied date, if they equals returns true, otherwise false.I just ovveride method processRecord in DateTime.js to remove calling isApplyDefault:processRecord: function(record, path) { if (this.fireEvent('beforeloadcontent', this, record, path) !== false) { var v = record.get(this.getName()); if (v == undefined && this.defaultValue != nu...

Views

474

Likes

0

Replies

0
On/Off time(datetime field) doesn't cleared after cancel button is pressed
Avatar

yaraslaud208334

yaraslaud208334
- Adobe Experience Manager
HI,I opened page properties and filled some fieldsAfter I pressed cancel button, and reopened properties dialog, all field cleared, but datetime fields didn't.What is the rigth way to clear datetime fields?Thanks.

Views

570

Like

1

Replies

3
Flash Component show alt image instead of flash-animation in aem publish
Avatar

yaraslaud208334

yaraslaud208334
- Adobe Experience Manager
Hi,I'm using aem 6.0 instance. I just put flash component on page. On authoring everything is ok. On publish there is js exception occurs:Uncaught ReferenceError: CQ is not definedIs it necessary to include cq.shared lib?Best regards,Yaraslau

Views

340

Likes

0

Replies

1
Re: AEM inserts html info comment into json
Avatar

yaraslaud208334

yaraslaud208334
- Adobe Experience Manager
There is no typo. I found two solutionsThe first one is to replace http://servername:port/path/to/page.urlshortener.html with http://servername:port/path/to/page/jcr:content.urlshortener.html, another one is to use additional parameter wcmmode=disabled

Views

518

Likes

0

Replies

0
AEM inserts html info comment into json
Avatar

yaraslaud208334

yaraslaud208334
- Adobe Experience Manager
I have the following jsp<% JSONObject jsonResult = new JSONObject(); response.setContentType("application/json"); String parentNodePath = slingRequest.getRequestPathInfo().getResourcePath(); String url = getServerBaseUrl(sling) + parentNodePath.split("/jcr:content")[0] + ".html?cid=twitter"; UrlShortener urlShortener = sling.getService(UrlShortener.class); String shortUrl = urlShortener.shorten(url); String encShortUrl = URLEncoder.encode(shortUrl); jsonResult.put("url", url); jsonResult.put("sh...

Views

771

Likes

0

Replies

3