Automatically closed - issue fixed for 2 weeks with no activity.
The change made to resolve #3195163: Error on destination parameter on Edit button → introduces a different bug with the destination parameter in the Edit link when using the draggable table widget. After interacting with the draggable table and invoking AJAX, the (indirect) destination parameter is ultimately set to something with the 'ajax_form=1' and '_wrapper_format=drupal_ajax' query string parameters. So although the right path loads, it simply shows Drupal ajax commands JSON within a textarea!
1. Go to /admin/structure/entityqueue and click 'Edit items'
2. Press 'add item' (whether with a valid item to enter or not). The AJAX that runs will update the Edit links in the table, so their destination parameters gets updated to something like: https://example.com/node/1234/edit?destination=/admin/structure/entityqueue/myqueue_1/myqueue_1%3Fdestination%3D/admin/structure/entityqueue%26ajax_form%3D1%26_wrapper_format%3Ddrupal_ajax
3. Press the edit link for the new item, which takes you to edit the referenced item
4. Save the form, you get redirected to the right path, but with &ajax_form=1&_wrapper_format=drupal_ajax' in the URL, which causes Drupal to output the response as AJAX commands, wrapped in a textarea!! (see \Drupal\Core\Render\MainContent\AjaxRenderer::renderResponse() and \Drupal\Core\EventSubscriber\AjaxResponseSubscriber::onResponse())
Change the solution used for
#3195163: Error on destination parameter on Edit button →
to something that doesn't produce this bug. Perhaps \Drupal::destination()->getAsArray()
is needed?
Provide patch.
None
None
None
Fixed
1.5
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Automatically closed - issue fixed for 2 weeks with no activity.