Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-115476

Metatype configuration without configuration bean class is causing a NPE

    Details

    • Type: Regression Bug
    • Status: Closed
    • Resolution: No Longer Reproducible
    • Affects Version/s: Master
    • Fix Version/s: Master
    • Component/s: Portal Configuration
    • Labels:
    • Fix Priority:
      4
    • Sprint:
      U&SM| S03 Sprint 29 | 8.4-8.18

      Description

      Since the introduction of LPS-100991, developers cannot deploy JAR files with Metatype XML files unless they also provide a configuration bean class.

      This completely disables the configuration dialogs shown in Control Panel > System Settings for those OSGi bundles.

       

      Steps to reproduce:

      1. Deploy attached JAR file
      2. Go to Control Panel > System Settings > Other > category.my-project

      Expected results:

      1. A configuration dialog is shown

      Actual results:

      1. No dialog is shown and the server log shows a NPE

       

      This has been found while investigating https://github.com/liferay/liferay-js-toolkit/issues/594

      This seems to have been caused by LPS-100991

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              patricia.perez Patricia Perez
              Reporter:
              ivan.zaera Ivan Zaera
              Participants of an Issue:
              Recent user:
              Patricia Perez
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                27 weeks, 3 days ago

                  Packages

                  Version Package
                  Master