RE: Groovy script to remove duplicate field names. NormalizeDuplicateFields

BRODY HIGGS JR, modified 6 Years ago. Junior Member Posts: 61 Join Date: 5/16/14 Recent Posts
I am preparing to upgrade Liferay 6.2 CE GA6 (Build 6205) to Liferay 7.1.2 GA3 then finally to Liferay 7.2 GA1.  I need to verify and remove duplicate field names in Liferay 6.2, but the groovy script is not available here.  Thank you. 
https://dev.liferay.com/documents/10184/741415/NormalizeDuplicateFields-6.2.x.groovy

Below is the upgrade guide I am following.
https://portal.liferay.dev/docs/7-1/deploy/-/knowledge_base/d/upgrading-to-liferay-71
https://portal.liferay.dev/docs/6-2/deploy/-/knowledge_base/d/upgrading-liferay#find-and-remove-duplicate-field-names
https://portal.liferay.dev/docs/7-1/deploy/-/knowledge_base/d/running-the-upgrade-process
thumbnail
Alberto Chaparro, modified 6 Years ago. Liferay Master Posts: 560 Join Date: 4/25/11 Recent Posts
Hey Brody,
Sorry about that, I am going to report it internally to fix it as soon as possible.Here you have the groovy script so that you don't have to wait.Let me know if it works.
Cheers!
BRODY HIGGS, modified 6 Years ago. Junior Member Posts: 61 Join Date: 5/16/14 Recent Posts
The script works.  Thank you for the quick response.
thumbnail
Alberto Chaparro, modified 6 Years ago. Liferay Master Posts: 560 Join Date: 4/25/11 Recent Posts
You're welcome Brody.

The documentation is already fixed too:
https://portal.liferay.dev/docs/6-2/deploy/-/knowledge_base/d/upgrading-liferay#find-and-remove-duplicate-field-names
Thanks for reporting it.
thumbnail
Olaf Kock, modified 1 Year ago. Liferay Legend Posts: 6441 Join Date: 9/23/08 Recent Posts

Interesting... as the script was missed, a colleague of mine found it. When I wanted to attach it here, I figured that Ask doesn't allow attachments. However, the script has been uploaded when this content was served by MessageBoards - and it's still around: Here it is