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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Experience fragment fails in plain mode

Avatar

Level 4

I'm trying to open weekend xf from publisher instance on Cloud sandbox using plain notation

 

it works using

/content/experience-fragments/wknd/us/en/featured/camping-western-australia/master.html

but fails with plain

/content/experience-fragments/wknd/us/en/featured/camping-western-australia/master.plain.html

 

Note that WKND project is deployed without dispatcher config (which fails during deployment), not sure if this is connected.

 

Error

 

*ERROR* [109.245.223.249 [1666194957543] GET /content/experience-fragments/wknd/us/en/featured/camping-western-australia/master.plain.html HTTP/1.1] org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Uncaught Throwable
java.lang.StringIndexOutOfBoundsException: begin 0, end -1, length 86
at java.base/java.lang.String.checkBoundsBeginEnd(String.java:3319)
at java.base/java.lang.String.substring(String.java:1874)
at com.adobe.cq.xf.impl.render.handler.PathAttributesHandler.processSrcAttr(PathAttributesHandler.java:97) [com.adobe.cq.cq-experience-fragments:1.3.66]
at com.adobe.cq.xf.impl.render.handler.PathAttributesHandler.handle(PathAttributesHandler.java:61) [com.adobe.cq.cq-experience-fragments:1.3.66]
at com.adobe.cq.xf.impl.render.HtmlTransformer.startElement(HtmlTransformer.java:117) [com.adobe.cq.cq-experience-fragments:1.3.66]
at org.apache.cocoon.xml.sax.AbstractSAXPipe.startElement(AbstractSAXPipe.java:97) [org.apache.cocoon.cocoon-xml:2.0.2]
at com.day.cq.mcm.core.newsletter.NewsletterTransformerFactory$NewsletterTransformer.startElement(NewsletterTransformerFactory.java:132) [com.day.cq.mcm.cq-mcm-core:5.13.4]
at com.adobe.cq.xf.impl.render.JsoupHtmlGeneratorFactory$JsoupHTMLGenerator.processNode(JsoupHtmlGeneratorFactory.java:109) [com.adobe.cq.cq-experience-fragments:1.3.66]
at com.adobe.cq.xf.impl.render.JsoupHtmlGeneratorFactory$JsoupHTMLGenerator.processNode(JsoupHtmlGeneratorFactory.java:110) [com.adobe.cq.cq-experience-fragments:1.3.66]

 

0 Replies