Gold R5 Renaming user control break edit-layout page

For general questions and discussions specific to the AbleCommerce GOLD ASP.Net shopping cart software.
Post Reply
User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Gold R5 Renaming user control break edit-layout page

Post by AbleMods » Wed Jul 03, 2013 9:02 am

Renaming any user control assigned to a layout breaks the edit-layout page for any layouts that reference the old control file name. You are unable to edit the layout(s) that include the control until the control file name is returned to its original name.

This applies to both Able user controls as well as any custom controls you've created and referenced in a layout.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

User avatar
Naveed
Rear Admiral (RADM)
Rear Admiral (RADM)
Posts: 611
Joined: Thu Apr 03, 2008 4:48 am

Re: Gold R5 Renaming user control break edit-layout page

Post by Naveed » Thu Jul 04, 2013 7:01 am

Thank you for reporting the issue. We will fix it and I will try to post a workaround.

User avatar
ForumsAdmin
AbleCommerce Moderator
AbleCommerce Moderator
Posts: 399
Joined: Wed Mar 13, 2013 7:19 am

Re: Gold R5 Renaming user control break edit-layout page

Post by ForumsAdmin » Wed Jul 10, 2013 7:22 am

We have fixed our layout editor so that it will not break in such a situation. However when you make such a change, there is no gurantee that your retail side page will not break. It can happen that when the page is rendered by ASP.NET, it fails to find the control being referenced. So when renaming of controls is done, the developer will have to be cautious about not breaking any existing master pages that use the control.

Post Reply