Copied to clipboard

Flag this post as spam?

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


  • Andrea Lovo 3 posts 73 karma points
    May 06, 2022 @ 13:36
    Andrea Lovo
    0

    Console error saving resctrictions for single users

    I found an issue when applying restriction for a single member to media. When I click on save, this cause a console error:

    angular.js:15635 Possibly unhandled rejection: {"data":{"ExceptionMessage":"Object reference not set to an instance of an object.","ExceptionType":"System.NullReferenceException, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e","StackTrace":"   at MediaProtect.Web.Controllers.MediaProtectDialogApiController.Validate(DialogModel model)\r\n   at lambda_method2463(Closure , Object , Object[] )\r\n   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)\r\n   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync()\r\n   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)\r\n   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync()\r\n--- End of stack trace from previous location ---\r\n   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)\r\n   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)\r\n   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()\r\n--- End of stack trace from previous location ---\r\n   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker."}
    

    How can I resolve?

  • Richard Soeteman 4035 posts 12842 karma points MVP
    May 09, 2022 @ 12:29
    Richard Soeteman
    0

    Hi,

    What version of Media protect and Umbraco are you using?

  • Andrea Lovo 3 posts 73 karma points
    May 09, 2022 @ 12:30
    Andrea Lovo
    0

    MediaProtect 9.0 Umbraco 9.2

  • Cristian 1 post 71 karma points
    May 10, 2022 @ 07:08
    Cristian
    0

    I also have the same problem (same versions)

  • Richard Soeteman 4035 posts 12842 karma points MVP
    May 20, 2022 @ 07:00
    Richard Soeteman
    0

    Hi,

    Sorry for the delay. This was indeed a bug and should be fixed in the 9.0.1 release I just uploaded.

    Hope this helps,

    Richard

Please Sign in or register to post replies

Write your reply to:

Draft