- πΊπΈUnited States smustgrave
Closing out as outdated per #20.
Not something that's been noticed I believe/reproducible.
- Status changed to Active
over 1 year ago 11:40am 6 July 2023 - π©πͺGermany mkalkbrenner π©πͺ
I just updated a site from Drupal 9.5.10 to 10.1.0 and run into this error now.
I debugged the issue and found that views/views.module is added twice.
- π©πͺGermany mkalkbrenner π©πͺ
In
Drupal\Core\Render\HtmlResponseAttachmentsProcessor::processAttachments()
:$ajax_page_state = $this->requestStack->getCurrentRequest()->get('ajax_page_state');
This page state contains views/views.module two times.
- Status changed to Needs work
over 1 year ago 11:56am 6 July 2023 - π©πͺGermany mkalkbrenner π©πͺ
This quick fix made the site work in the dev environment.
- π©πͺGermany mkalkbrenner π©πͺ
Also happens with 10.1.1.
But it is interesting that it wasn't an issue with 9.5.x. - π©πͺGermany IT-Cru Munich
@mkalkbrenner: Maybe HTTP method for AJAX requests has changed to GET in D10 or D10.1? This was in the past our problem, because we used some patch I think to have GET instead of POST request for AJAX in our project.
Could you double check this? As mentioned in #21 with switch to a decoupled frontend we do not trigger such AJAX requests in our project anymore.
- π¦πΊAustralia thtas
I've just run in to this too. Annoyingly it only seems to manifest during gitlab ci test runs, so tricky to debug.
We're not doing any ajax requests, and the problem goes away when I disable big_pipe.
The library which is being added twice is "facets/drupal.facets.link-widget" (and it's duplicated at the end of the libraries array).
- π§πͺBelgium kwinten-hardies Vlaams-Brabant
Looks like this is still the case with Drupal 11.0.1 too. I just tested this on a standard install of Drupal 11 with only media en media_browser enabled as extra.
When filtering and paginating, the query parameters are duplicated. resulting in a "request URI too long" error on our firewall.From 10.2.3 onwards this is a problem for all our site's. I found a lot of issues regarding this but all proposed solutions do not work.
Could this be a nginx problem? But I tried this on a docker-drupal setup with apache and it's the same there.I just don't know where to look in ajax code. Please advise. Thank you.