Bug reports Found a bug? Post it here please.
Version 7.x > Bug reports > Exception when editing Form control properties View modes: 
User avatar
Member
Member
staymo-163 - 9/25/2012 2:54:43 AM
   
Exception when editing Form control properties
Version:7.0 Trial
IIS:7.5 classic
.NET Framework: 4.0

How to reproduce:
1. Site Manager -> Development -> Form controls. Find a control, say, Label, click edit.
2. Swicth to Properties tab. Add a new property, set the column name, set the attribute type to Long Text, and uncheck "Display attribute in the editing form"
3. Click Save button. Then, the exception throws:
"Failed to load viewstate. The control tree into which viewstate is being loaded must match the control tree that was used to save viewstate during the previous request. For example, when adding controls dynamically, the controls added during a post-back must match the type and position of the controls added during the initial request".

User avatar
Kentico Developer
Kentico Developer
kentico_helenag - 9/25/2012 3:38:10 AM
   
RE:Exception when editing Form control properties
Hello,

thank you for your report.

We already know about this issue and we will fix it to hotfix 7.0.1. It happens on more areas in Site manager -> Development when you add properties. We are sorry for the inconveniences caused.

Best regards,
Helena Grulichova

User avatar
Member
Member
staymo-163 - 9/25/2012 5:30:19 AM
   
RE:Exception when editing Form control properties
OK. when will the hotfix come out?

User avatar
Kentico Developer
Kentico Developer
kentico_helenag - 9/26/2012 2:48:06 AM
   
RE:Exception when editing Form control properties
Hello,

it will be released at the end of this week (Thursday or Friday).

Best regards,
Helena Grulichova

User avatar
Kentico Developer
Kentico Developer
kentico_helenag - 9/26/2012 5:49:55 AM
   
RE:Exception when editing Form control properties
Hello,

we are sorry. The issue is more complex than we expected and we will be not ready to hotfix 7.0.1. It will be included in hotfix 7.0.2 which will be released on Friday, October 5.

Best regards,
Helena Grulichova

User avatar
Member
Member
staymo-163 - 9/29/2012 9:13:20 PM
   
RE:Exception when editing Form control properties
OK, I got it. Thanks.

BTW, I have the license with full source code, how can I get the source of the hotfix?

Best Regards

User avatar
Kentico Developer
Kentico Developer
kentico_helenag - 10/1/2012 2:45:33 AM
   
RE:Exception when editing Form control properties
Hello,

You can always send a request to support@kentico.com. I will send you a link for hotfix 7.0.1 for source code to your e-mail.

Best regards,
Helena Grulichova

User avatar
Member
Member
staymo-163 - 10/1/2012 7:45:53 AM
   
RE:Exception when editing Form control properties
got it, thank you!

User avatar
Member
Member
fraser - 2/11/2013 12:32:19 PM
   
RE:Exception when editing Form control properties
We are getting this error and are using hotfix 18.

It happens consistently when using the Modal "Select file" dialog and uploading a new file.

If we pick an existing file, the error does not happen, but if a new file is uploaded, we get the error.

User avatar
Member
Member
fraser - 2/11/2013 12:52:34 PM
   
RE:Exception when editing Form control properties
Sorry, I want to be a bit more explicit on the steps to reproduce:

- from the Form tab, Select a media file (ie. an image)
- enter some text in one of the other fields on the form
- press Save on the form

It seems to be related to the "Media selection" control on the form.

User avatar
Kentico Customer Success
Kentico Customer Success
kentico_martind2 - 2/12/2013 2:38:33 AM
   
RE:Exception when editing Form control properties
Hi Fraser,

I wasn't able to reproduce this behaviour on v7.19. However, one similar bug to yours was already reported and it will be fixed in the hotfix v20 which will be released this friday. Please let us know if it won't fix your isssue.

Best regards,
Martin Danko