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

Fix error when navigating from a page with a read-only chain select

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2 GA
    • Component/s: None

      Description

      problem appears if the chain select is in the same form, or if it's outside of any form.

      decode is called on it, triggering errors like:

      Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
      at org.nuxeo.ecm.platform.ui.web.directory.ChainSelect.getSelection(ChainSelect.java:344)
      at org.nuxeo.ecm.platform.ui.web.directory.ChainSelectListboxComponent.decode(ChainSelectListboxComponent.java:409)
      at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:1031)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                atchertchian Anahide Tchertchian
                Reporter:
                atchertchian Anahide Tchertchian
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: