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.
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:
- Implement
hook_msnu() in a custom module. Create an item with path dummy/%node and a dummy callback
- Head to Structure > Layouts and create an override of
dummy/%. The layout is shown as an override
- Select
Node as the context
- Save the layout - you will be taken to the manage blocks screen.
- Visit the configuration page for the layout.
- The context type has been changed to "String passthrough".
The Node context doesn't stick.
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:
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.I do have hook_menu entries for this site that use
%nodein 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:
hook_msnu()in a custom module. Create an item with pathdummy/%nodeand a dummy callbackdummy/%. The layout is shown as an overrideNodeas the contextThe Node context doesn't stick.
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: