CurrentPage not accesible in DocTypeGridEditorSurfaceController
Hi,
When I try to get access the current page in a DocTypeGridEditorSurfaceController by using CurrentPage, I receive the following error:
System.InvalidOperationException: 'Cannot find the Umbraco route definition in the route values, the request must be made in the context of an Umbraco request'
I'm using the latest version of Umbraco (7.12.4) and DTGE (0.6.0). With version 0.5.0 everything was working fine.
I've logged it over on our GitHub repo as an issue to investigate. I'll take a look when I next work on DTGE bugs, (or if someone else wants to collaborate on fixing it?)
CurrentPage not accesible in DocTypeGridEditorSurfaceController
Hi,
When I try to get access the current page in a DocTypeGridEditorSurfaceController by using CurrentPage, I receive the following error:
I'm using the latest version of Umbraco (7.12.4) and DTGE (0.6.0). With version 0.5.0 everything was working fine.
Cheers Wesley
Hi Wesley, thanks for raising this.
I've logged it over on our GitHub repo as an issue to investigate. I'll take a look when I next work on DTGE bugs, (or if someone else wants to collaborate on fixing it?)
https://github.com/umco/umbraco-doc-type-grid-editor/issues/125
Thanks,
- Lee
Hi Wesley, I've been looking into this today.
I can get the error when using the preview in the Grid (in the back-office), it works fine when used on the frontend. Is that the same for you?
Thanks,
- Lee
Hi Lee,
Thanks for looking into it so quickly!
I also only get the error when using the preview in the grid, frontend is working fine.
Cheers Wesley
I think I've found a fix for it. I'll update on the GitHub repo once it's ready.
The fix for this is now available in Doc Type Grid Editor v0.6.1.
is working on a reply...