Type: Regression Bug
Affects Version/s: 6.2.10 EE GA1, 6.2.X EE, 7.0.0 M7, 7.0.0 Alpha 1
Component/s: ~[Archived] WCM
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.
- 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.
The script should write "Created article"
Script writes "There are missing fields!"