.getCurrentRoute() returns :virtualSegment_1/:virtualSegment_2/:virtualSegment_3
See original GitHub issueDescription
Using LuigiClient.linkManager().getCurrentRoute()
returns /projects/project1/documentation/:virtualSegment_1/:virtualSegment_2/:virtualSegment_3
instead of the real values as described in the first example #2724
LuigiClient version 1.23.1
Expected result
As described in #2724
LuigiClient.linkManager().getCurrentRoute() - full route of luigi main app, e.g. /projects/project1/documentation/Product/Contact/Teams
Actual result
/projects/project1/documentation/:virtualSegment_1/:virtualSegment_2/:virtualSegment_3
Steps to reproduce
In a page with virtual segments call: LuigiClient.linkManager().getCurrentRoute()
Troubleshooting
LuigiClient.linkManager().fromVirtualTreeRoot().getCurrentRoute()
also return something strange:
/projects/project1/documentation
instead of /Product/Contact/Teams
Issue Analytics
- State:
- Created a year ago
- Comments:5 (3 by maintainers)
Hi @DenisDuev , I believe we have spotted this issue and is currently being handled in this PR.
Sorry, the feature is working as expected. The problem was on my side 😃