Copied to clipboard

Flag this post as spam?

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


  • kristian schneider 190 posts 351 karma points
    Jun 25, 2013 @ 19:44
    kristian schneider
    0

    Feature requests

    Hi Dan.

    A few sugestions:

    • Could the view default with the newest errors first? So that the sort direction is set to Ascending as default.
    • For some errors like exceptions that throw a stackstrace it would be nice to be able to read the entire message. Perhaps with a button [more] to see the rest of the message.
    • Perhaps the view could remember its current settings in a cookie so that next time one comes back it is set to the previous view, fx filters etc.
    Best
    Kristian

     

  • Dan Diplo 1554 posts 6205 karma points MVP 5x c-trib
    Jun 25, 2013 @ 21:40
    Dan Diplo
    0

    Hi Kristian!

    Thanks for the feedback. I've implemented one of your sggestions - rememering the current settings. So I've just released v1.1. which persists things like sort order, page size and search term. So (as you probably know) you can change the sort order of the date column to ascending, as you prefer, and then it will remember that from then on.

    "For some errors like exceptions that throw a stackstrace it would be nice to be able to read the entire message"

    As far as I know I do show the entire message - it basically displays whatever was recorded in the trace log. Obviously I can only display what Umbraco logs and nothing more. Can you check the actual logfile (it should be in /App_Data/Logs/) and let me know if there is more information that I'm not showing? 

    Dan

  • kristian schneider 190 posts 351 karma points
    Jun 26, 2013 @ 11:00
    kristian schneider
    0

    Top stuff Dan !

    I have a log file here: https://dl.dropboxusercontent.com/u/2561634/UmbracoTraceLog.txt.2013-03-28 where the exception

    2013-03-28 08:11:56,100 [17] ERROR umbraco.BusinessLogic.Application - [Thread 1] Can't instantiate SQLHelper with connectionstring ""

    Does not show the entire stacktrace. Perhaps this can help you find the cause.

    Best regards

    Kristian

  • kristian schneider 190 posts 351 karma points
    Jun 26, 2013 @ 11:08
    kristian schneider
    0

    Hi Dan.

    Just for you information. I get the following error with v 1.1

    I don't see any errors in the javascript console

  • Dan Diplo 1554 posts 6205 karma points MVP 5x c-trib
    Jun 26, 2013 @ 15:03
    Dan Diplo
    0

    Thanks for the info - will check this out tonight.

    Dan

     

  • Dan Diplo 1554 posts 6205 karma points MVP 5x c-trib
    Jun 26, 2013 @ 22:17
    Dan Diplo
    0

    Hi Kristian,

    Just upload v1.2 and I've fixed the bug where long exception messages where being truncated, so now the whole exception etc. is shown. Turns out that Regex.MultiLine isn't what i thought (and is rather counterintuitive!).

    I haven't been able to reproduce the JS error, though. Looks like you are using Chrome, which I am too. Does it always happen or just randomly? Have you tried F5ing a few times to ensure you get latest source?

  • kristian schneider 190 posts 351 karma points
    Jun 27, 2013 @ 12:32
    kristian schneider
    1

    Hi Dan.

    You need to change you init of the datatable to this:

     $(document).ready(function () {
                    $('#dataTable').dataTable({
                        "iDisplayLength": 100,
                        "bRetrieve": true,
                        "bDestroy": true,
                        "bStateSave": true,
                    });
                })

    That will sort out the datatable error.

    When you get around it you might want to persist the DdlFileList dropdown and the CbLevelList checkboxes, for convenience.

    Best regards

    Kristian 

     

  • kristian schneider 190 posts 351 karma points
    Jun 27, 2013 @ 12:33
    kristian schneider
    0

    Oh. And the stacktrace comes trhough fine now :-)

  • Dan Diplo 1554 posts 6205 karma points MVP 5x c-trib
    Jun 27, 2013 @ 22:39
    Dan Diplo
    1

    Hi Kristian,


    Thanks for the datatable fix, I've added the code in to 1.3 (though I never had a problem with the old code). Also, just for you, I've added a new checkbox that, when ticked, will remember the selected log file and the state of the Level checkboxes even when navigating away (stored in a cookie). Haven't tested extensively, but it seems to work. Let me know if you find any problems.

    Thanks for all your feedback and help, too.

    Dan

  • kristian schneider 190 posts 351 karma points
    Jun 27, 2013 @ 23:09
    kristian schneider
    0

    Brilliant Dan!

    Works like a charm

Please Sign in or register to post replies

Write your reply to:

Draft