Improper error message when property name does not exist

Posted by Community Admin on 05-Aug-2018 03:04

Improper error message when property name does not exist

All Replies

Posted by Community Admin on 12-Mar-2013 00:00

Just to provide feedback on a small issue -- when calling DynamicContent.SetValue with an invalid property name string, the following error is displayed:

#ResourceNotFound#:ErrorMessages:Type does not contain property with that name

I don't think the "#ResourceNotFound#:ErrorMessages:" text was supposed to be included. Also, I'd like to suggest including the property name within the message text.

Regards,

Gary

 

Posted by Community Admin on 30-Aug-2015 00:00

I am having the same exact issue but with the form submission.

Garry can you explain what could possibly go wrong here ?

how can i debug this ?

Posted by Community Admin on 12-Sep-2015 00:00

Hi,

The exception message that is shown is incorrect. I have logged a bug regarding this in our portal. You can review it here:
http://feedback.telerik.com/Project/153/Feedback/Details/169070-incorrect-exception-message-shown-when-using-setvalue

The exception occurs when the field to set the value to, does not exist in the object Type.

Regards,
Nikola Zagorchev
Telerik

 
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
 

This thread is closed