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

Preferences column of portletPreferences is not correctly upgraded when using custom ADTs defined in navigation.display.style.options

    Details

      Description

      Steps to reproduce:

      1. Edit portal-ext.properties of a 6.2.x installation and add the following property and its value: 
        1. navigation.display.style.options=relative-with-breadcrumb,from-level-2-with-title,from-level-1-with-title,from-level-1,from-level-1-to-all-sublevels,from-level-0,myDisplayQTD
      2. Start the portal.
      3. Add a Navigation portlet to a page, and set myDisplayQTD as the display template through the portlet's Configuration option.
      4. Stop the 6.2.x server.
      5. Execute the db upgrade process pointing to the 6.2.x database where the custom ADT myDisplayQTD was configured.
      6. Start a DXP portal pointing to the upgraded database.
      7. Check the style applied to the Navigation portlet.

      Expected result: myDisplayQTD is selected and applied.

      Current result:  myDisplayQTD style is not selected(and not applied).

      The upgrade process is not executing at all the portletpreferences upgrade for the navigation portlet. So that the needed prefix ddmTemplate for the displayStyle preference of ADTs defined in navigation.display.style.options is not applied.

       

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              brian.chan Brian Chan
              Reporter:
              cristina.rodriguez Cristina Rodriguez
              Participants of an Issue:
              Recent user:
              Marta Elicegui
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

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

                  Packages

                  Version Package
                  7.0.0 DXP FP39
                  7.0.0 DXP SP7
                  7.0.5 CE GA6
                  7.0.X
                  7.1.0 M1
                  7.1.X
                  Master