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

Several issues with the @ExtendedObjectClassDefinition annotation

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Won't Fix
    • Affects Version/s: 7.0.1 CE GA2
    • Fix Version/s: None
    • Component/s: Portal Configuration
    • Labels:
      None
    • Fix Priority:
      3

      Description

      Hi,

      Initialization:
      The @ExtendedObjectClassDefinition annotation is not available from a standard Liferay project, I had to add the following entries to my Gradle dependencies:
      compile group: 'com.liferay', name: 'com.liferay.portal.configuration.metatype', version: '2.0.0'
      compile group: "biz.aQute.bnd", name: "biz.aQute.bndlib", version: "3.1.0"

      EDIT: I don't know why but issue 3. & 4. works now...
      Two issues:

      1. In the documentation (source: https://dev.liferay.com/develop/tutorials/-/knowledge_base/7-0/making-your-applications-configurable) it says:
      The fully qualified class name of the @ExtendedObjectClassDefinition class is com.liferay.portal.metatype.annotations.ExtendedObjectClassDefinition
      => ... But "configuration" is missing, the fully qualified name should be: com.liferay.portal.configuration.metatype.annotations.ExtendedObjectClassDefinition

      2. The documentation says "Navigate to the Control Panel, click on System and then System Settings", I'm afraid this path does not exist, it should be "Navigate to the Control Panel, click on Configuration and then System Settings".

      3. The @ExtendedObjectClassDefinition annotation has a "category" attribute, but this attribute does not work, it always put my configuration in the "Other" category tab.

      4. The @ExtendedObjectClassDefinition annotation has a "scope" attribute, but this attribute is never shown in the "Scope" column of the System Settings. Moreover, none of the entries' scope in the "Other" category tab is shown.

      Best regards,

        Attachments

          Activity

            People

            Assignee:
            drew.brokke Drew Brokke
            Reporter:
            g g (Inactive)
            Participants of an Issue:
            Recent user:
            Esther Sanz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              5 years, 19 weeks, 1 day ago

                Packages

                Version Package