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

SQL files are not read when a module is redeployed

    Details

    • Fix Priority:
      3

      Description

      SQL files (tables.sql, sequences.sql, indexes.sql, portlet-model-hints.xml, portlet-model-hints-ext.xml, portlet-hbm.xml) are not read when redeploying a module.

      Steps to reproduce
      1.- Create a new service with Service Builder.
      2.- Start Liferay 7
      3.- Deploy the new service.
      4.- Check the database to see the new entities created.
      5.- Modify service.xml, rebuilt the service and redeploy it.
      6.- Check the database to see the changes in the entities.

      Expected Result
      The entities have been updated

      Actual Result
      The entities have not been updated, even when you can read in the logs the opposite information: "Upgrading buildNamespace database to build number buildNumber"

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                antonio.ortega Antonio Ortega
                Reporter:
                antonio.ortega Antonio Ortega
                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:
                  3 years, 17 weeks, 6 days ago

                  Packages

                  Version Package