Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Wesley Herpoelaert 52 posts 123 karma points
    Jan 02, 2019 @ 15:44
    Wesley Herpoelaert
    0

    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.

    Cheers Wesley

  • Lee Kelleher 4020 posts 15802 karma points MVP 13x admin c-trib
    Jan 02, 2019 @ 17:00
    Lee Kelleher
    0

    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

  • Lee Kelleher 4020 posts 15802 karma points MVP 13x admin c-trib
    Jan 07, 2019 @ 15:13
    Lee Kelleher
    0

    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

  • Wesley Herpoelaert 52 posts 123 karma points
    Jan 07, 2019 @ 15:16
    Wesley Herpoelaert
    0

    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

  • Lee Kelleher 4020 posts 15802 karma points MVP 13x admin c-trib
    Jan 07, 2019 @ 15:49
    Lee Kelleher
    0

    I think I've found a fix for it. I'll update on the GitHub repo once it's ready.

  • Lee Kelleher 4020 posts 15802 karma points MVP 13x admin c-trib
    Jan 14, 2019 @ 11:29
    Lee Kelleher
    101

    The fix for this is now available in Doc Type Grid Editor v0.6.1.

Please Sign in or register to post replies

Write your reply to:

Draft