Cocoon
  1. Cocoon
  2. COCOON-2243

NPE when calling ApplicationUtil.isUserInRole

    Details

    • Urgency:
      Normal
    • Other Info:
      Patch available
    • Affects version (Component):
      Blocks: Authentication - 1.0.0
    • Fix version (Component):
      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.

        Activity

        Jörg Heinicke made changes -
        Affects Version/s 2.2-dev (Current SVN) [ 12313093 ]
        Affects Version/s 2.1.11 [ 12312231 ]
        Jörg Heinicke made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Fix Version/s 2.1.12-dev (Current SVN) [ 12312903 ]
        Fix Version/s 2.2 [ 12310611 ]
        Fix version (Component) Parent values: Blocks: Authentication(10233).
        Assignee Jörg Heinicke [ joerg.heinicke@gmx.de ]
        Resolution Fixed [ 1 ]
        Benjamin Boksa made changes -
        Field Original Value New Value
        Attachment ApplicationUtil.java.patch [ 12389738 ]
        Benjamin Boksa created issue -

          People

          • Assignee:
            Jörg Heinicke
            Reporter:
            Benjamin Boksa
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development