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

Form navigator entries with empty/null categories can't be properly configured

    Details

      Description

      Form navigator entries can be configured through system settings as of LPS-70043 in the following way:

      context.category=entry1,entry2...

      For example when a new site is being created, the social tab can be configured to show only the mentions entry:

      add.social=mentions
      

      The same when an existing site is being edited:

      update.social=mentions
      

      The problem comes with the journal form which has a unique empty ("") category for which all the entries are registered. This causes problems when accessing the configuration internally. For example, the way to only show the display-page entry when adding a new web content is:

      add.=display-page
      

      Which is not very convenient.

      In case the category is empty only the context should be specified, resulting in a config line like this:

      add=display-page
      

      In case the category is empty and the context is irrelevant, a linke like this will be valid:

      display-page
      

        Attachments

        1. 7.0 pass.gif
          514 kB
          Steven Gao
        2. master pass.gif
          391 kB
          Steven Gao

          Issue Links

            Activity

              People

              • Assignee:
                steven.gao Steven Gao (Inactive)
                Reporter:
                alejandro.tardin Alejandro Tardín
                Participants of an Issue:
                Recent user:
                Brian Wulbern
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  3 years, 18 weeks, 6 days ago

                  Packages

                  Version Package
                  7.0.0 DXP FP14
                  7.0.0 DXP SP3
                  7.0.3 CE GA4
                  7.0.X EE
                  7.1.X
                  Master