- π³πΏNew Zealand danielveza Brisbane, AU
Verified from manual testing that this is still an issue. Updating the IS and added steps to replicate.
- Merge request !7489[#2941189] - Stop the saved settings message from appearing on LayoutBuilderDisableForm β (Closed) created by danielveza
- Status changed to Needs review
7 months ago 11:37pm 14 April 2024 - π³πΏNew Zealand danielveza Brisbane, AU
Opened a MR to strop the message from showing on the Disable Layout Builder Form.
There was no specific test coverage for the disable form itself, rather than add a whole new test for this I added coverage to an existing test that was already asserting LB messages.
- Status changed to Needs work
7 months ago 3:24am 16 April 2024 - π³πΏNew Zealand danielveza Brisbane, AU
@mstrelan raised a clever alternate approach on the MR. Setting back to NW for that
- Status changed to Needs review
7 months ago 10:58pm 16 April 2024 - π³πΏNew Zealand danielveza Brisbane, AU
Updated the approach based on the feedback from @mstrelan
- Status changed to RTBC
7 months ago 3:02pm 17 April 2024 - πΊπΈUnited States smustgrave
Can confirm I'm seeing the issue described following the steps of the issue summary.
Attaching before/after screenshots to the summary.
MR does fix the issue.
- Status changed to Needs work
7 months ago 9:30pm 17 April 2024 - π¬π§United Kingdom longwave UK
Not sure this will work if the string has been translated or altered via custom strings; is there no way of preventing the message from being added in the first place?
- Status changed to Needs review
7 months ago 11:11pm 17 April 2024 - π³πΏNew Zealand danielveza Brisbane, AU
Based on @longwave's comment in #27 I've built a POC of an alternate approach that prevents the message from being added to the messenger().
This is a more generic approach that other forms could use in the future if this comes up again in other places in core.
- πΊπΈUnited States smustgrave
Can confirm still working @longwave what do you think?
- Status changed to RTBC
7 months ago 1:55pm 30 April 2024 - πΊπΈUnited States smustgrave
To keep this one from stalling going to mark but new solution is also still working as mentioned. If I jumped the gun apologize
- Status changed to Needs review
7 months ago 8:46am 10 May 2024 - π¬π§United Kingdom longwave UK
Simplified this even further, if we redirect at all then we shouldn't show the message?
- Status changed to RTBC
6 months ago 8:12pm 15 May 2024 - π³πΏNew Zealand danielveza Brisbane, AU
I was concerned the new approach could stop the message from showing when we do want it to display, but I've checked all child classes of
EntityDisplayFormBase
and the only one that sets redirects in the form state isLayoutBuilderEntityViewDisplayForm
.I prefer the approach taken here to my original MR & it's flexible enough to be used in the future if something like this pops up again. So +1 from me
- Status changed to Fixed
6 months ago 12:02pm 21 May 2024 - π¬π§United Kingdom catch
Committed/pushed to 11.x and cherry-picked back through to 10.3.x, thanks!
Automatically closed - issue fixed for 2 weeks with no activity.