Closed (duplicate)
Project:
Drupal core
Version:
10.1.x-dev
Component:
other
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
22 Dec 2020 at 07:17 UTC
Updated:
20 Mar 2023 at 23:28 UTC
Jump to comment: Most recent
Comments
Comment #2
saxenaakansha30Comment #3
saxenaakansha30Comment #4
mohit.bansal623 commented@saxenaakansha30 Redirect response is also not working, so removing the success message will solve the issue ? Please confirm.
Comment #5
spokjeFixing typo in title
Comment #6
saxenaakansha30@mohit.bansal623: If removing the status message is the only option then it will solve the issue. But is there any other way you could think of with which we can still show status message.
Comment #7
mstrelan commentedTested this on 10.1.x and can confirm the issue still exists. One possible solution would be to define a route and controller that simply sets the message and performs the redirect, then rebuild.php can redirect to that route. That seems like overkill though, and I'm sure there is a simpler way.
Comment #8
mstrelan commentedI came across #2940148: Messenger service can't set messages super early and loses reference to flashbag reference on rebuild which sounded related. Re-rolled the patch for that issue and tested this again and it was fixed. Marking as a duplicate of that issue.