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()
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.
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.
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
Any help will be useful!
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
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.
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
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
Yes i forgot to set the new TinyMCE DataType Id.
Great! Thanks for sharing the debug-info!
We could probably improve the error message to contain more clues about this.
Have a great week!
is working on a reply...