Odd behavior of Varbase landing page layout builder

Created on 2 April 2024, about 1 year ago
Updated 3 April 2024, about 1 year ago

Problem/Motivation

Yes, I know I should not have built a production site on 10.x but --- at the time I started the project I figured 10.x would be released by the time I got the site moved to production. That was my own mistake. But I am seeing an odd behavior on 10.0.0-rc1. If I enable the Varbase layout builder landing page module I can enable custom layouts per node, make some custom layouts, then turn the custom layouts OFF for that content type. This results in bad behavior where every time a node is entered the site tries to redirect to setting up a custom layout. I then get a no permission error on that page. I do end up with a page with the default layout, but the behavior is confusing.

Steps to reproduce

1. Enable Varbase Landing Page (Layout Builder) module

2. Create a content type with a layout builder display. Set it to be able to have a custom layout for each page.

3. Create a node with a custom layout.

4. Turn off the custom layout option for the content type (which normally would not be allowed because there are already custom layouts in place).

5. Build a NEW node. On the first save of the content the site will redirect to trying to set up a custom layout but fails with a permission denied error.

If I then disable the varbase landing page module the site will then no longer allow me to disable custom layouts, which is more the expected behavior.

Proposed resolution

Though it is a little annoying to be unable to turn off the custom layouts after a custom layout is created, I think that is the normal expected behavior. I don't think I should be able to turn custom layouts off after the fact.

Remaining tasks

  • ✅ File an issue about this project
  • ❌ Addition/Change/Update/Fix to this project
  • ❌ Testing to ensure no regression
  • ➖ Automated unit/functional testing coverage
  • ➖ Developer Documentation support on feature change/addition
  • ➖ User Guide Documentation support on feature change/addition
  • ➖ UX/UI designer responsibilities
  • ➖ Accessibility and Readability
  • ❌ Code review from 1 Varbase core team member
  • ❌ Full testing and approval
  • ❌ Credit contributors
  • ❌ Review with the product owner
  • ❌ Update Release Notes and Update Helper on new feature change/addition
  • ❌ Release

Varbase update type

  • ✅ No Update
  • ➖ Optional Update
  • ➖ Forced Update
  • ➖ Forced Update if Unchanged

User interface changes

  • N/A

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

  • N/A
🐛 Bug report
Status

Active

Version

10.1

Component

User interface

Created by

🇺🇸United States steve hanson

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024