Field Reference Structures change after upgrade to 7.4
Written By
Viktória Gyömbér
How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!
While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.
Legacy Article
You are viewing an article from our legacy "FastTrack"
publication program, made available for informational purposes. Articles
in this program were published without a requirement for independent
editing or verification and are provided"as is" without
guarantee.
Before using any information from this article, independently verify its
suitability for your situation and project.
Issue
- The problem with the Field References is that the same structure has different structure IDs in dev and prod and we are planning to develop our templates on dev and once tested, I will update our templates on prod. However as the Field References are not the same on dev and prod, we have to do additional modifications to the templates before propagating them to prod. This would be solved if, after the upgrade, the Field Reference would contain the structure key instead of the structure id (or at least an environment-independent ID), because we can set the structure key the same in both environments.
Resolution
-
This behaviour is not considered a bug as it was an intentional change to resolve a bug: LPS-128160
-
In order to request a change in this behaviour, there is an opened Feature Request ticket: LPS-160621.
Did this article resolve your issue ?