Contributed Fragment Collection's content is not correct after deployment

Issue

  • We have created a Contributed Fragment Collection, carefully following the documentation
  • The collection contains two fragments
  • After successful deployment, we see only one fragment is present twice in the portal

Environment

  • Liferay DXP 7.2+

Resolution

  • The fragment.json files are missing the "fragmentEntryKey" : "[value]" for both fragments
  • Add those values to all of your fragments' JSON files in your collection and redeploy to make it work properly

Additional Information

 

这篇文章有帮助吗?
0 人中有 0 人觉得有帮助