-
Type:
Regression Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 6.2.10 EE GA1, 6.2.X EE, 7.0.0 M7, 7.0.0 Alpha 1
-
Fix Version/s: 6.2.4 CE GA5, 6.2.X EE, 7.0.0 Alpha 2
-
Component/s: ~[Archived] WCM
-
Labels:
-
Branch Version/s:6.2.x
-
Backported to Branch:Committed
-
Fix Priority:3
-
Git Pull Request:
LPS-54498 introduced validation for all article locales. But this introduces some unwanted behavior. If someone introduces a new required field and someone is just translating the content in one language, he/she should have to do the same for every language.
Reproduction steps:
- Create a web content structure using attached file (LPS-58417_structure.txt
if using 6.2.x or LPS-58417_structure_master.txt
if using Liferay 7).
- Get the structureKey from DDMStructure table in database from the previously created structure.
- Create a template using attached file (LPS-58417_template.txt
if using 6.2.x or LPS-58417_template_master.txt
if using Liferay 7) and choose the previous structure as the template's structure.
- Go to Control Panel -> Server Administration -> Script and execute attached groovy script (journalarticle_LPS-58417.groovy
if using 6.2.x or journalarticle_LPS-58417_master.groovy
if using Liferay 7), replacing GROUPID and DDMSTRUCTUREKEY with testing environment actual values.
Expected behavior:
The script should write "Created article"
Actual behavior:
Script writes "There are missing fields!"