ajax_page_state is not taken into account for normal GET requests

Created on 29 May 2015, almost 10 years ago
Updated 16 February 2025, 2 months ago

Follow-up to #2407195: Move attachment processing to services and per-type response subclasses

Problem/Motivation

       $ajax_page_state = $this->requestStack->getCurrentRequest()->request->get('ajax_page_state');

is wrong.

Proposed resolution

Should be:

       $ajax_page_state = $this->requestStack->getCurrentRequest()->get('ajax_page_state');

but needs tests coverage.

Remaining tasks

- Fix it
- Write tests
- Commit

User interface changes

- None

API changes

- None

Beta phase evaluation

<!--Uncomment the relevant rows for the issue. -->
🐛 Bug report
Status

Fixed

Version

8.0 ⚰️

Component

request processing system

Created by

🇩🇪Germany Fabianx

Live updates comments and jobs are added and updated live.
  • Novice

    It would make a good project for someone who is new to the Drupal contribution process. It's preferred over Newbie.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024