-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 5.7-SNAPSHOT
-
Fix Version/s: 5.7.1
-
Component/s: Automation
-
Tags:
On nuxeo-automation-features > DocumentPageProviderOperation.java (l.103), the "sortInfo" parameter is not parsed correctly when using the "|" delimiter as suggested by:
if (sortInfoDesc.contains("|")) { String[] parts = sortInfoDesc.split("|"); sortInfo = new SortInfo(parts[0], Boolean.parseBoolean(parts[1]));
The regexp "|" is invalid and matches every character.
A workaround is to use the "Social.Provider" operation instead.
I'll submit a pull request for this issue.