Details
-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
8.4.4
-
None
-
Unit
-
Unknown
-
N/A
-
N/A
-
Description
if you put the following wiki syntax in a page
(% style="background: white;" %)Hello
Then styles from a PDF template are not applied to the document with an exception.
java.lang.ArrayIndexOutOfBoundsException: -1 7040 at java.util.ArrayList.elementData(ArrayList.java:418) 7041 at java.util.ArrayList.remove(ArrayList.java:495) 7042 at info.informatica.doc.style.css.property.DOMCSSValueList.remove(DOMCSSValueList.java:64) 7043 at info.informatica.doc.style.css.dom.BaseCSSStyleDeclaration$BackgroundShorthandSetter.assignSubproperties( BaseCSSStyleDeclaration.java:1566) 7044 at info.informatica.doc.style.css.dom.BaseCSSStyleDeclaration.setSubproperties(BaseCSSStyleDeclaration.java: 844) 7045 at info.informatica.doc.style.css.dom.BaseCSSStyleDeclaration.setProperty(BaseCSSStyleDeclaration.java:440) 7046 at info.informatica.doc.style.css.dom.PropertyDocumentHandler.property(PropertyDocumentHandler.java:101) 7047 at info.informatica.doc.style.css.dom.BaseCSSStyleDeclaration$StyleDeclarationDocumentHandler.property(BaseC SSStyleDeclaration.java:1) 7048 at com.steadystate.css.parser.AbstractSACParser.handleProperty(AbstractSACParser.java:540) 7049 at com.steadystate.css.parser.SACParserCSS21.declaration(SACParserCSS21.java:1723) 7050 at com.steadystate.css.parser.SACParserCSS21.styleDeclaration(SACParserCSS21.java:1619)
Attachments
Issue Links
- duplicates
-
XWIKI-14279 Upgrade to CSS4J 0.24.1 & JCLF 4.0.0
- Closed
- relates to
-
XWIKI-14277 Make the PDF export less fragile
- Closed