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

SAML DXP module upgrades wrong portlet ids

    Details

      Description

      Steps to reproduce:

      1. Run upgrades using the attached lportal_6130.dump.sql to current ee-7.0.x
      2. Query database: select * from Portlet where portletId like '%saml%';

      Expected result: No 2_WAR_samlportlet portletId in Portlet table

      MariaDB [lportal_ee70x]> select * from Portlet where portletId like '%saml%';
      +-------+-----------+--------------------------------------------------------+-------+---------+-------------+
      | id_   | companyId | portletId                                              | roles | active_ | mvccVersion |
      +-------+-----------+--------------------------------------------------------+-------+---------+-------------+
      | 10417 |     10154 | com_liferay_saml_web_internal_portlet_SamlAdminPortlet |       |       1 |           0 |
      +-------+-----------+--------------------------------------------------------+-------+---------+-------------+
      

      Actual result: 2_WAR_samlportlet is not upgraded:

      MariaDB [lportal_ee70x]> select * from Portlet where portletId like '%saml%';
      +-------+-----------+-------------------+-------+---------+-------------+
      | id_   | companyId | portletId         | roles | active_ | mvccVersion |
      +-------+-----------+-------------------+-------+---------+-------------+
      | 10417 |     10154 | 2_WAR_samlportlet |       |       1 |           0 |
      +-------+-----------+-------------------+-------+---------+-------------+
      

        Attachments

          Activity

            People

            Assignee:
            joyce.wang Joyce Wang
            Reporter:
            tomas.polesovsky Tomáš Polešovský
            Participants of an Issue:
            Recent user:
            Tibor Lipusz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              3 years, 32 weeks, 4 days ago

                Packages

                Version Package
                7.0.X EE
                Master