Fixed
Pinned fields
Click on the next to a field label to start pinning.
Details
Assignee
Albert LeeAlbert Lee(Deactivated)Reporter
TomasTomasLabels
Branch Version/s
6.1.xBackported to Branch
CommittedFix Priority
3Git Pull Request
Components
Affects versions
Priority
Medium
Details
Details
Assignee
Albert Lee
Albert Lee(Deactivated)Reporter
Tomas
TomasLabels
Branch Version/s
6.1.x
Backported to Branch
Committed
Fix Priority
3
Git Pull Request
Components
Affects versions
Priority
Zendesk Support
Zendesk Support
Zendesk Support
Created July 19, 2012 at 5:50 AM
Updated June 24, 2023 at 3:58 PM
Resolved August 6, 2012 at 11:47 PM
DDMStructureImpl doesn't escape input parameters when constructing XPath.
How to reproduce:
1, create new Document type in Document Library
2, add Select metadata field
3, change the Select's options, into value 2 insert (including quotes and apostrophe) "Tom's cats"
4, save
5, create new document with this Document type and select "Option 2"
6, publish document
7, show document - there should be error in the log: org.dom4j.InvalidXPathException: Invalid XPath expression: //dynamic-element[@name="select2167"] //dynamic-element[@value=""Tom's cats""] Expected: ]