-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: Master
-
Fix Version/s: 7.3.4 CE GA5, 7.3.10 DXP GA1, Master
-
Component/s: Data Engine, Web Content > Web Content Administration
-
Labels:
-
Epic/Theme:
-
Fix Priority:3
-
Git Pull Request:
Description
The help text of the first field of a nested/section/field group is wrongly positioned after upgrading.
Pre-conditions
- Go to Liferay > Content & Data > Web content > Go to Structures tab;
- Create a Structure 1 > add a Text field > add a help text/tip to the field;
- Drag a Date field over the Text field already added to the form body in order to create a Nested relationship;
- 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
- Launch the portal after performing the pre-conditions above;
- Go to Liferay > Content & Data > Web content > Go to Structures tab;
- Open Structure 1;
- 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