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

Fix NPE when testing if a document is deleted in LiveEditBootstrapHelper

    XMLWordPrintable

    Details

      Description

      The condition to test the life cycle state is badly written, so the following NPE could happen

      Caused by: java.lang.NullPointerException
      at org.nuxeo.ecm.webapp.liveedit.LiveEditBootstrapHelper.isDocumentLiveEditable(LiveEditBootstrapHelper.java:596)
      at org.nuxeo.ecm.webapp.liveedit.LiveEditBootstrapHelper.isDocumentLiveEditable(LiveEditBootstrapHelper.java:586)
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: