Custom Data is presented incorrectly

Niko

Posted on
Apr 20 2016

Hi,

While outputting custom data from a DbEntityValidationException I ran across a presentation issue on the dashboard. The DbEntityValidationException data is nested within the claims data even though in the code, the DbEntityValidationException is added to the custom data dictionary as a new key-value.

The pictures provided show two situations:

  1. Using an array of anonymous objects to represent each DbEntityValidationException (though there's only one in this example). Under the raw data (right) the JSON is correct but on the presentation (left) the DbEntityValidationException key is nested within the claims key and there is no ending square bracket for claims, nor are there square brackets for DbEntityValidationException Data.
  2. The second picture represents another approach of having the data as a list of strings (two strings for this example). Again the raw JSON data represents the situation correctly but the formatted view is incorrect.

Using Raygun4Net.

Edit: The images are censored. Clearing that up just in case the error looks like there's no data, or weird formatting when no data.


Alex

Posted on
May 06 2016

Hi Niko,

Sorry for the late response.

Thanks for reporting this issue. I'll have a look and get back to you once we've got a fix in the works.

Cheers,
Alex


Alex

Posted on
May 09 2016

Hi Niko,

Just letting you know we've released a fix for this issue.

Best regards,
Alex


Reply