Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bug with tabs being invisible when an association or similar has … #6517

Open
wants to merge 1 commit into
base: 4.x
Choose a base branch
from

Conversation

bytes-commerce
Copy link
Contributor

…property with same label.

Situation:

Class A has property B
Class C has also property B
Class A has also reference to Class C

Class A Crud Controller displays Association to C, and also another Association to B.

Now, when this happens the Crud Edit Interface will no longer display the Association of a tab. This is because of the tabId generation that takes into account only the label, which means that for many more situations (not just the one above), Tabs cannot be utilized correctly.

This bugfix causes this issue by adding a uniqid to an invisible-to-the-user ID, that must be unique anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant