close
Skip to content

unable to set a node context on Layout Override of path something/% #7102

@jenlampton

Description

@jenlampton

Description of the bug

I'm unable to set a node context on my layout. Though the UI will allow me to select "Node" to map to the placeholder in my path, saving the Layout takes me away from the configure form, and does not save my context. Returning to that form results in the Context being reset to String pass-through.

Image

I do have hook_menu entries for this site that use %node in position 1, so the problem isn't that this path doesn't exist, or that it's not properly defined. These layouts should be "Overrides" for me, and not Layout pages.

Steps To Reproduce

To reproduce the behavior:

  1. Create a new layout at the path test/%
  2. Select Node as the context
  3. Save the layout - you will be taken to the manage blocks screen.
  4. Return to the conigure screen
  5. Confirm your context was not saved.

Actual behavior

Node context can be assigned.

Expected behavior

Node context can be assigned

Additional information

Add any other information that could help, such as:

  • Backdrop CMS version:
  • Web server and its version:
  • PHP version:
  • Database sever (MySQL or MariaDB?) and its version:
  • Operating System and its version:
  • Browser(s) and their versions:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions