-
Type:
Impedibug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Completed
-
Affects Version/s: Master
-
Fix Version/s: None
-
Component/s: Data Engine, Web Content > Web Content Administration
-
Labels:
-
Sprint:Data_Engine_7.3_17, Data_Engine_7.3_18, Data_Engine_7.3_19, Data_Engine_7.3_20, Data_Engine_7.3_21, Data_Engine_7.3_22, Data_Engine_7.3_23, Data_Engine_7.3_24, Data_Engine_7.3_27, Data_Engine_7.3_25, Data_Engine_7.3_26, Data_Engine_7.3_28
-
Git Pull Request:
Pre-conditions
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
- Go to Content & Data > Web Content > Click to create a New Structure
- Drag and drop a Text field and Save the Structure
- Go to Content & Data > Web Content > Structures
- Select the Structure saved on step 2
- Remove the Text field by leaving the Structure in blank, and Save the Structure
Expected Result
5. The error below must be displayed and the Structure is not updated
Actual Result
5. The Portal allows editing a Structure in blank
*Note 1: this error happens only for edition. It does not happen when creating a new Structure
*Note 2: This error does not reproduce on old form build engine
Side Effect:
As it is possible to edit with no field, if a Web Content is created based on this Structure and we set it into a page, the Web Content on that page is displayed with only the field label "Text". This does not make sense once the Structure has not field, however if we fix the error according to Expected Result, the user won't be able to reach out this side effect
Reproduced In
master: f833273185ef36d50bc2c8103a683e640dd18d03
database: mysql