-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 7.10, 8.3
-
Component/s: Seam / JSF UI
-
Backlog priority:300
-
Sprint:nxfit 8.10.2, nxfit 9.1.4, nxfit 9.1.5
-
Story Points:8
It is currently possible to enter control characters like UNICODE U+000B.
Since those characters are invisible (though some editors show them) in browser display, customers may not notice it while entering a value (quick copy/paste is very likely to be the culprit).
This results in a document that cannot be updated anymore (see screenshot cannotUpdate.png).
The only workaround is then to update directly the field in the storage. In this example it was needed to manually issue an SQL statement to change the dc:title value attribute. For instance:
update dublincore set title='titleNXP21062' where id='144538f5-0a24-4a6a-8451-f554b8ef866b'; commit;
This can also be seen when exporting the document as XML (see cannotUpdate.xml) and validating it using an XML validator (http://www.xmlvalidation.com/ in this case, see validationResult.png)
In addition, characters like U+0000 cannot be written to a PostgreSQL database in a text field, and must be filtered too.
- is related to
-
NXP-21240 Impossible to update a Document with a field containing an invisible unicode character
- Resolved
-
NXP-21320 Fix error validating an XML export containing a unicode character
- Resolved
-
NXP-21321 No matching results if document field contains an invisible unicode character
- Resolved