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

The help text of the first field of a nested/section/field group is wrongly positioned after upgrading

    Details

      Description

      Description
      The help text of the first field of a nested/section/field group is wrongly positioned after upgrading.

      Pre-conditions

      1. Go to Liferay > Content & Data > Web content > Go to Structures tab;
      2. Create a Structure 1  > add a Text field > add a help text/tip to the field;
      3. Drag a Date field over the Text field already added to the form body in order to create a Nested relationship;
      4. Save Structure 1.

      Go to the class DDMServiceUpgrade.java and add the following code snippet: 

      		registry.register(
      			"3.7.4", "3.8.0",
      			new com.liferay.dynamic.data.mapping.internal.upgrade.v3_8_0.
      				UpgradeDDMStructure(
      				_jsonDDMFormDeserializer, _ddmFormLayoutDeserializer,
      				_jsonDDMFormLayoutSerializer,_jsonDDMFormSerializer));
      

      Update dynamic-data-mapping-service/bnd.bnd with:

      Liferay-Require-SchemaVersion: 3.8.0

      Go to the dynamic-data-mapping-service folder and run:
      gw clean deploy

      Go to the bundles/liferay-portal/tools/portal-tools-db-upgrade-client and run:
      ./db_upgrade.sh

      Go to osgi/configs folder and copy this file (make sure it has the content useDataEngineEditor=B"true"):
      com.liferay.journal.web.internal.configuration.JournalDDMEditorConfiguration

       
      Steps to Reproduce

      1. Launch the portal after performing the pre-conditions above;
      2. Go to Liferay > Content & Data > Web content > Go to Structures tab;
      3. Open Structure 1;
      4. Observe that Text field help text is shown at the bottom of the nested - BUG;

      Expected Result
      The help text of the first field of a nested/section/field group is wrongly positioned after upgrading.

      Actual Result
      The help text of the first field of a nested/section/field group is properly positioned (below the field to which it belongs) after upgrading.

       

      Reproduced In
      master: fa47109a09934177edc596adc8db77563bb1c6ac

        Attachments

          Activity

            People

            • Assignee:
              yang.cao Yang Cao
              Reporter:
              alex.candido Alex Candido
              Participants of an Issue:
              Recent user:
              Jason Pince
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                8 weeks ago

                Packages

                Version Package
                7.3.4 CE GA5
                Master