Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
When you click on select entities
for the field files
(modal example) from the content type entity_browser_test
, a modal window is supposed to open. But it doesn't.
Proposed resolution
When I do an inspect element I can see that the url is entity-browser/modal/test_files1?uuid=c4b664e8-d8c1-4535-9709-9be37ea035f8&original_path=/node/add/entity_browser_test
and opening that in a different page shows the file browser properly. So I am thinking this has something to do with javascript or the properties passed to the anchor tag which needs to be fixed.
Remaining tasks
- write patch
- review patch
Comments
Comment #1
gokulnk CreditAttribution: gokulnk at Azri Solutions for CyberSafe commentedComment #2
slashrsm CreditAttribution: slashrsm at Examiner.com commentedThis a bigger problem. Modal display is entirely broken. I suspect this was caused by some changes in core at some point. Yesterday I spent some time to figure out the solution but was not very successful....
Comment #3
slashrsm CreditAttribution: slashrsm at Examiner.com commentedComment #4
jonhattanPR: https://github.com/drupal-media/entity_browser/pull/80
Comment #5
slashrsm CreditAttribution: slashrsm at Examiner.com commentedMerged. Thanks!
Comment #6
gokulnk CreditAttribution: gokulnk at Azri Solutions for CyberSafe commentedI can confirm that the fix is working.
I wish there was a mechanism using which the maintainers would get a notification when there is a change record that relates to code in the module. It would have made life much easier ;)
Comment #7
slashrsm CreditAttribution: slashrsm at Examiner.com commentedTrue! Are you volunteering to develop something like this? ;)
Comment #8
gokulnk CreditAttribution: gokulnk at Azri Solutions for CyberSafe commentedWell that would be lot of effort. I am not sure if I have the pedigree for that. But I think it is an interesting problem statement to solve.
I have asked a question on StackExchange http://programmers.stackexchange.com/questions/291873/context-specific-a... Lets see if something interesting comes out of it.