Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: Groovy script to remove duplicate field names. NormalizeDuplicateFields
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
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
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!
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!
Attachments:
The script works. Thank you for the quick response.
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.
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.
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.
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™