-
Notifications
You must be signed in to change notification settings - Fork 104
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
Revert "Fix formatting for alias on relations (#745)" #782
Revert "Fix formatting for alias on relations (#745)" #782
Conversation
This reverts commit 91d1903.
Quality Gate passedIssues Measures |
Yes, that fixes the issue. The original issue (#744) should be addressed at the operator "Alias" itself. |
It might be more complicated than just fixing in the alias operator as the alias operator could itself be nested. I have to investigate that |
I believe the rendering code path is very different for the case of an Alias vs direct field: admin-ui-classic-bundle/src/Service/GridData/DataObject.php Lines 74 to 220 in e71ee90
something in the case of the direct field causes it to render as the full path. |
@cancan101 Thanks for reverting your PR. For further discussions I have re-opened the issue #744 |
This reverts commit 91d1903.
Closes #780
The original fix was at the wrong location in the evaluation tree. Whatever is calling Alias handles result from alias differently from result from DefaultValue. I need to track that down.
Basically without alias,
getFullPath
(or similar) gets called and with alias it does not. Not sure why.@fashxp
@solverat
@la-lisa