Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-11563

Fix saving of ordering criteria on smart folder

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.7-SNAPSHOT
    • Fix Version/s: 5.7.1
    • Component/s: None

      Description

      Steps to reproduce (on a 5.7-SNAPSHOT version)

      • on a smart search form, select ordering criteria (and search criteria) then click on "search".
      • from this page, click on "save search"
        => page crash, with the following stack trace:
      Caused by: org.nuxeo.ecm.core.api.model.InvalidPropertyValueException: /cvd:sortInfos/item[-1]/sortColumn
      	at org.nuxeo.ecm.core.api.model.impl.ListProperty.setValue(ListProperty.java:247)
      

      Other slightly different steps only lead to a warn in logs:

      12:13:17,328 WARN  [DocumentModelResolver] /cvd:sortInfos/item[-1]/sortColumn
      

      In every case the ordering criteria is ignored by the content view.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: