Copied to clipboard

Flag this post as spam?

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


  • Christian Tricarico 12 posts 92 karma points c-trib
    Jul 21, 2018 @ 09:13
    Christian Tricarico
    0

    SqlException with backoffice logResource service

    Hi Devs, I'm working on my first Umbraco project and I'm following the tutorial "Creating a custom Dashboard".

    When I call the method getUserLog of the logResource service I get an Sql Exception that notify my about an error in the WHERE clause of the query.

    I'm usign exactly the same code of the tutorial:

    logResource.getUserLog("save", new Date())
        .then(function (response) {
            console.log(response)
            vm.LogEntries = response;
        });
    

    Screenshot of the error

    Something wrong on my side? Thanks, Christian

  • Dave Woestenborghs 3504 posts 12135 karma points MVP 9x admin c-trib
    Jul 23, 2018 @ 08:14
    Dave Woestenborghs
    101

    Hi Christian,

    Nothing wrong at your side. The logResource is "broken": http://issues.umbraco.org/issue/U4-11458

    I created a PR for this but that still needs to be reviewed.

    You can find some more info in this thread and a workaround to complete the tutorial : https://our.umbraco.com/forum/extending-umbraco-and-using-the-api/92396-custom-dashboard-and-sqlce

    Dave

  • Christian Tricarico 12 posts 92 karma points c-trib
    Jul 23, 2018 @ 12:35
    Christian Tricarico
    0

    Hi Dave, thank you for the info. Waiting for an official fix I will follow your link in order to apply a workaround.

    Christian

Please Sign in or register to post replies

Write your reply to:

Draft