Problem/Motivation
Steps to reproduce:
- Install minimal profile
- Install config module
- Export configuration to staging directory (drush cex -y is the easiest way to do this)
- Change the site title
- Go to admin/config/development/configuration and view the config differences
Proposed resolution
Add dependency to core/drupal.ajax
Remaining tasks
User interface changes
None
API changes
None
Data model changes
None
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 2692359-2.patch | 325 bytes | alexpott |
Comments
Comment #2
alexpottSo now to work out why this fixes it...
Comment #3
wim leersIsn't it simply the controller for
/admin/config/development/configurationthat fails to attach this asset library?Comment #4
alexpottWell admin/structure/block is also broken... there seems to be the assumption that
'data-dialog-type' => 'modal'only requirescore/drupal.ajaxComment #5
alexpottMaybe the library all these things should be attaching is
drupal.dialog.ajax?Comment #6
alexpottYep that fixes it.
Comment #7
nod_Apart from the CSS messing things up, I do see the modal open when I do exactly the steps of the OP. I really do not want drupal.ajax depending on jquery UI.
When the page is loaded things are fine, clicking on View differences will trigger an ajax request, which returns a command array, on item of this array is the inclusion of a js file, that contains jquery ui & co. and the next command is the openDialog command. Do you have any js error?
If this fails it means that the js file didn't load before the openDialog command triggered. Which is a know limitation of our ajax framework, there is an issue somewhere about it.
Comment #8
alexpottComment #9
alexpottd.o xpost bug means that #7 removes the file I added in #6 :)
Comment #10
nod_Better, thanks!
Comment #11
catchCommitted/pushed to 8.2.x and cherry-picked to 8.1.x, thanks!
Comment #14
drummCorrecting issue status, see #2698635: Issue statuses changing by themselves?.