-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Description
Which Umbraco version are you using?
16.2.0
Bug summary
Backoffice breadcrumb links to the document editor are generated with a trailing /null variant segment and are not normalized to /invariant, causing the document workspace to show a 404 inside the main frame.
Specifics
Single-culture (invariant) site.
Breadcrumb anchor href ends with /null
Visiting the same URL without /null (or with /invariant) works as expected (just "/" normalizes to "/invariant")
This behaviour worked in v15 — /null was normalized to /invariant on navigation.
Fresh v16.2.0 install reproduces.
Steps to reproduce
- Install Umbraco 16.2.0 (fresh project).
- Create at least two document types: A and B.
- Make sure A is able to be created at root and allows the creation of B as its child.
- Create at least one node of each document type, ensuring that B nodes are children of A.
- Go to node B, and click on the link towards node A in the breadcrumbs at the bottom of the page (same section where "Save and preview", "Save", and "Save and publish" buttons are).
Expected result / actual result
Expected result
The router should normalize the variant segment and navigate to the editor at:
/umbraco/section/content/workspace/document/edit/{id}/invariant
…and the document workspace should load (tabs, groups, property editors, etc.).
Actual result
The URL remains with /null, the document workspace area shows a 404, and the expected set of workspace requests never fires.
^ Hovering over B link in the breadcrumbs (the actual URL is shown on the lower right)
