Uploaded image for project: '[Read Only] - Hippo Plugins'
  1. [Read Only] - Hippo Plugins
  2. HIPPLUG-223

TaxonomyPlugin fails with Nullpointer when editor does not has access to taxonomy

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Probably fixed, check next version
    • None
    • None
    • plugins-taxonomy

    Description

      Description:
      This issues is a cornerstone case. The consequences are, hoewever , quit severe and unexpected. User is not able to log in, and it seems - from the CMS user perspective - as if the CMS has been crashed.
      The particular circumstances happen at a big cumstomer of us, which has a shared repository with several departements. The departments shared the same content model, but some departements do not use the taxonomy in their documents.

      The issue about how the taxonomy plugin deals with the particular circumstance (error handling) . The plugin fails with a NullPointerException. This results in "blank" screen - servlet error. The exception should not be thrown and the program should handle the error gracefully.

      Reproduction:
      Create an editor linked to a security domain which does not has access to the taxonomytree.
      Log in as the editor
      Create a document using taxonomy
      Leave the document open en log out - the document is still in draft
      Now log in

      Result:
      CMS is not available, servlet error.
      In the CMS log you can find a NullPointerException throws by the Taxonomy plugin

      Expected:
      Log in, the editor should encounter the document in the same state.

      Workaround:
      Throw away the cookie and log in again as admin

      Extra:
      The editor has rights for the document, and is able to save and publish the document.
      Only if the user logs out and logs in, with the document in draft state, the error occurs.
      The plugin is loaded as the document is open, but during the loading it has a conflict with the security model.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mhodenpijl Martijn Hodenpijl (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: