Details

    • Type: Technical Testing
    • Status: Closed
    • Priority: Minor
    • Resolution: Completed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Data Engine
    • Labels:
      None
    • Sprint:
      Data_Engine_7.3_30, Data_Engine_7.3_31, Data_Engine_7.3_32
    • Test Type:

      Description

      The following steps are to reproduce the tests:

       

      Pre-upgrade steps:

      1. Go to Content & Data -> Web Content Structure tab
      2. Add structure, drag-and-drop any field (Ex. Text field) and save
      3. Now go to web content tab and create a web content with the newly created structure
      4. Go to Documents & Media click on Document Types  and create a new one
      5. Now click on Metadata Sets and create a new one

      Upgrade steps:

      1. Shut down the portal
      2. Open your liferay home directory and navigate to /modules/apps/dynamic-data-mapping/dynamic-data-mapping-service/src/main/java/com/liferay/dynamic/data/mapping/internal/upgrade
      3. Open in your text editor the class DDMServiceUpgrade.java
      4. Check the following file (setup_DDMServiceUpgrade) and add what is in it to DDMServiceUpgrade.java
      5. Now navigate to /modules/apps/dynamic-data-mapping/dynamic-data-mapping-service
      6. Run gw clean deploy
      7. *Now go to /bundles/osgi/config* and paste the following files (com.liferay.journal.web.internal.configuration.JournalDDMEditorConfiguration-default.configcom.liferay.document.library.web.internal.configuration.FFDocumentLibraryDDMEditorConfiguration-default.config  )
      8. Now navigate to bundles/tools/portal-tools-db-upgrade-client
      9. Run db_upgrade.sh
      10. Press enter until "database name" (Enter your database name) and "database password" (Enter your database password)
      11. When the upgrade is done, start up the portal

      Post-upgrade steps

      1. Check if all the components created in the "Pre-upgrade steps" are still there
      2. Go to your database -> DDMStructure table -> definition column 
      3. Check if the created contents have "definitionSchemaVersion":"2.0" in their json. (check the picture in the attachments)
      4. Now edit the contents created
      5. Check again if "definitionSchemaVersion":"2.0" is still in their json 

       

        Attachments

          Activity

            People

            Assignee:
            dereck.portela Dereck Portela
            Reporter:
            alex.candido Alex Candido
            Recent user:
            Dereck Portela
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package