Bug reports Found a bug? Post it here please.
Version 5.x > Bug reports > EditableText in not visible zone View modes: 
User avatar
Member
Member
matan - 8/29/2011 7:59:33 AM
   
EditableText in not visible zone
Hi,
I think I found a bug in my website, this is the scenario: in my page there's a Web Part zone with an editable text inside it. The editable text is not empty but there's some text inserted by the user.
If I decide to hide the whole WebPartZone, when I click on button "Save" I get an "Object reference not set to an instance of an object." error on CMSWebParts\Text\editabletext.ascx.cs at line 794. I confirm that there's no customization of that webpart so it's exactly the original one.
Otherwise if I set the visibility of the editabletext and then the visibility of the webpart zone, then everything works well.

I hope it's clear my explanation and don't hesitate to contact me for further information. If you consider that there's an mistake during the web parts configuration, please don't consider my post.
Thank you.

User avatar
Kentico Support
Kentico Support
kentico_radekm - 8/30/2011 8:49:40 PM
   
RE:EditableText in not visible zone
Hello.

So far I am not able to reproduce this issue. I used default Corporate site, Home page, on 5.5R2 with the latest hotfix.

When I hide zoneCenter web part zone on Design tab and switch to Page tab to save changes (as there is no Save button on Design tab), I just don’t see EditableRegion within this hidden web part zone, as whole web part zone is hidden. When I hit Save, no error appears.

Can you describe exact steps which lead to this issue? How my scenario as I described it differs from yours? Thank you.

Best Regards,
Radek Macalik