Copied to clipboard

Flag this post as spam?

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


  • Bo Jacobsen 606 posts 2404 karma points
    Nov 16, 2015 @ 10:23
    Bo Jacobsen
    0

    The current pre-value collection is array based, use the PreValuesAsArray property instead

    Im gettin an error when viewing the content created in the backoffice.

    Using Umbraco 7.3.1 and NewsLetterStudio 2.1.3

    POST Error 500: /umbraco/backoffice/NewsletterStudio/SendContent/GetSendViewModelForNewsletter/ - DependencyHandler.axd

    ExceptionMessage: The current pre-value collection is array based, use the PreValuesAsArray property instead
    
    StackTrace: 
    
    at Umbraco.Core.Models.PreValueCollection.get_PreValuesAsDictionary()
    
       at NewsletterStudio.Umbraco.Properties.PropertyFactory.GetRteConfigurationData()
    
       at NewsletterStudio.Umbraco.Properties.PropertyFactory.GetProperty(String type, String alias, String label, String description, String value)
    
       at NewsletterStudio.Core.ViewModels.Extensions.NewsletterExtensions.ToViewModel(Newsletter newsletter, Boolean ignoreProperties)
    
       at NewsletterStudio.Umbraco.WebAPI.SendContentController.GetSendViewModelForNewsletter(HttpRequestMessage request, GetSendViewModelRequest model)
    
       at lambda_method(Closure , Object , Object[] )
    
       at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass10.<GetExecutor>b__9(Object instance, Object[] methodParameters)
    
       at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.Execute(Object instance, Object[] arguments)
    
       at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken)
    
    --- End of stack trace from previous location where exception was thrown ---
    
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    
       at System.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__0.MoveNext()
    
    --- End of stack trace from previous location where exception was thrown ---
    
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    
       at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()
    
    --- End of stack trace from previous location where exception was thrown ---
    
       at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()
    
    --- End of stack trace from previous location where exception was thrown ---
    
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    
       at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__0.MoveNext()
    
    --- End of stack trace from previous location where exception was thrown ---
    
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    
       at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()
    
    --- End of stack trace from previous location where exception was thrown ---
    
       at System.Web.Http.Filters.ActionFilterAttribute.<CallOnActionExecutedAsync>d__5.MoveNext()
    
    --- End of stack trace from previous location where exception was thrown ---
    
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    
       at System.Web.Http.Filters.ActionFilterAttribute.<ExecuteActionFilterAsyncCore>d__0.MoveNext()
    
    --- End of stack trace from previous location where exception was thrown ---
    
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    
       at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext()
    
    --- End of stack trace from previous location where exception was thrown ---
    
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    
       at System.Web.Http.Filters.AuthorizationFilterAttribute.<ExecuteAuthorizationFilterAsyncCore>d__2.MoveNext()
    
    --- End of stack trace from previous location where exception was thrown ---
    
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
    
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    
       at System.Web.Http.Dispatcher.HttpControllerDispatcher.<SendAsync>d__1.MoveNext()
    

    Any help will be useful!

  • Markus Johansson 1936 posts 5864 karma points MVP 2x c-trib
    Nov 16, 2015 @ 10:25
    Markus Johansson
    0

    Hi Bo!

    Are you using Newsletter Studio in the content section?

    Did you get these errors after upgrading from a previous version? I'll try to see if I can reproduce this.

    / m

  • Bo Jacobsen 606 posts 2404 karma points
    Nov 16, 2015 @ 10:31
    Bo Jacobsen
    0

    Yes the error only occur in the content section. And i upgraded Umbraco from 7.2.2 to 7.3.1. And got the error. Then i updated NewsLetterStudio from 2.1.0 to 2.1.3. And still got the same error.

  • Markus Johansson 1936 posts 5864 karma points MVP 2x c-trib
    Nov 16, 2015 @ 10:34
    Markus Johansson
    0

    Hi!

    7.3 introduces some ugly changes in the backoffice that impacts some packages. I've done some breif tests but can't reproduce the error at now.

    Could we talk details over PM? Send me an email: markus [at sign goes here] enkelmedia.se

    // m

  • Markus Johansson 1936 posts 5864 karma points MVP 2x c-trib
    Nov 16, 2015 @ 10:36
    Markus Johansson
    101

    Bo!

    I got an idea!

    Maybe something changed in the set up of rich text editor data type during the upgrade?

    The "GetRteConfigurationData()" is used to get the setup-information for the rte in the Newsletter Studio-section. Do you get the same error when you load a node in that section?

    If not, make sure that you have a valid rich text editor data type id in the "TinyMCE DataType Id"-setting in the Newsletter Studio-settings section.

    // m

  • Bo Jacobsen 606 posts 2404 karma points
    Nov 16, 2015 @ 10:55
    Bo Jacobsen
    0

    Yes i forgot to set the new TinyMCE DataType Id.

  • Markus Johansson 1936 posts 5864 karma points MVP 2x c-trib
    Nov 16, 2015 @ 13:43
    Markus Johansson
    0

    Great! Thanks for sharing the debug-info!

    We could probably improve the error message to contain more clues about this.

    Have a great week!

Please Sign in or register to post replies

Write your reply to:

Draft