Uploaded image for project: 'Cocoon'
  1. Cocoon
  2. COCOON-2243

NPE when calling ApplicationUtil.isUserInRole

    XMLWordPrintableJSON

Details

    • Normal
    • Patch available
    • Blocks: Authentication - 1.0.0
    • Blocks: Authentication

    Description

      A NullPointerException is thrown when calling ApplicationUtil.isUserInRole(final User user, final String role, final Map objectModel) with user == null. The attached patch should fix that issue. Patch was made against the nightly build (cocoon_20080909041525.tar.gz).

      I hope I submitted everything correctly.

      Attachments

        1. ApplicationUtil.java.patch
          0.8 kB
          Benjamin Boksa

        Activity

          People

            joerg.heinicke@gmx.de Jörg Heinicke
            bboksa Benjamin Boksa
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: