Uploaded image for project: 'Magnolia Categorization Module'
  1. Magnolia Categorization Module
  2. MGNLCAT-22

NullPointerException from CategoryOverviewModel.getPager() when category does not exist

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.1.5
    • None
    • None

    Description

      When a category does not exist, a NullPointerException is thrown. See for example: http://demoauthor.magnolia-cms.com/demo-project/service/category.Family-blabla.html.

      The CategoryOverviewModel.getPager() uses info.magnolia.module.categorization.util.CategoryUtil.getContentByCategory(CategoryUtil.java:73), where the null pointer happens.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              ochytil Ondrej Chytil
              bertleunis Bert Leunis
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD