Zone is null JS error when using Custom Template
I have created a custom template and am using it on a few pages. After editing a new content block on a page I receive a javascript error 'zone is null'.
var docks = zone.get_docks();
Upon more research this happens when duplicating a page and then selecting my custom template. If I create a page from scratch and use my template this does not happen.
Hello Kristian,
Thank you for using our services.
I have tried to reproduce this issue with the provided master page as well as with some of my own very similar to this one. However I have nod been able to do so. We have had similar issues with page templates in the previous release of Sitefinity 4.0 - Sitefinity 4.0 CTP. Are you using the beta version or the CTP one?
All the best,
Radoslav Georgiev
the Telerik team
I am using the beta version. The page i duplicated was using one of the built in templates '2 Sidebars, Header, Footer'
Hello Kristian,
Thank you for getting back to me.
I am still trying to reproduce the issue, however to no avail. I have attached a small screen cast of the steps I take to get the result you are getting. Can you please review the video and see if I am not performing any steps as you are? Can you also provide me with a list of steps which reproduces the problem?
Kind regards,
Radoslav Georgiev
the Telerik team
I am doing similar steps, but it turns out that is not the controls that cause this issue. I added a layout element into the page (25% + 50% + 25%) then duplicated the page. Then when editing the duplicate page the error occurs. I've reproduced it a few times, it doesn't seem to matter what template is chosen or if any content blocks etc are added on the original page.
Hi Kristian,
Do you have the layout element added to the template or to the page? When you duplicate the page do you change the template or leave it with the originally selected template?
Sincerely yours,
Radoslav Georgiev
the Telerik team
I have the layout element added to the page, not the template. when i duplicate the page i change the template
Hello Kristian,
I have managed to reproduce this issue in the Beta, however it is not reproducible in later builds. It appears to be fixed.
All the best,
Radoslav Georgiev
the Telerik team