Cache problems in custom tree after package install.
Hello everyone,
I'm in the process of migrating a package from older Umbraco versions to Umbraco 7. So far most things seems to work without much trouble, but there's a problem with our custom tree implementation.
After installing the package, and navigating to the new section with the custom tree, nothing happens when clicking on the nodes. This is the type of error i'm seeing in the console:
Error evaluating js callback from legacy tree node: ReferenceError: openProductCatalogGroup is not defined
The error would suggest that, the javascript functions defined in the RenderJS method in the BaseTree class, is not getting appended to the page.
The tree works when clearing the cache and refreshing the browser, but that isn't really a great solution, user experience wise.
I found this entry in the bug tracker: http://issues.umbraco.org/issue/U4-4011 which seems to be related to the tree cache problem, but upgrading to Umbraco 7.0.2, doesn't seem to have fixed the problem.
As far as i know the HQ is working on that problem.
Currently you have to clear the cache after you installed a package. Hope this gets fixed in the next update.
But when migrating to v7 maybe it would be good to also convert from BaseTree to the new TreeController.
This isn't fixed in 7.0.2 i still see need to refresh the browser cache by doing a refresh of the browser, which is very unfortunate when people don't know that when installing our package.
Cache problems in custom tree after package install.
Hello everyone,
I'm in the process of migrating a package from older Umbraco versions to Umbraco 7. So far most things seems to work without much trouble, but there's a problem with our custom tree implementation.
After installing the package, and navigating to the new section with the custom tree, nothing happens when clicking on the nodes. This is the type of error i'm seeing in the console:
The error would suggest that, the javascript functions defined in the RenderJS method in the BaseTree class, is not getting appended to the page.
The tree works when clearing the cache and refreshing the browser, but that isn't really a great solution, user experience wise.
I found this entry in the bug tracker: http://issues.umbraco.org/issue/U4-4011 which seems to be related to the tree cache problem, but upgrading to Umbraco 7.0.2, doesn't seem to have fixed the problem.
Any ideas?
As far as i know the HQ is working on that problem. Currently you have to clear the cache after you installed a package. Hope this gets fixed in the next update.
But when migrating to v7 maybe it would be good to also convert from BaseTree to the new TreeController.
Comment author was deleted
Yeah just hit f5 for that one, from 7.0.2 Umbraco will refresh the browser when you install a package so should be taken care of
Hi Tim,
This isn't fixed in 7.0.2 i still see need to refresh the browser cache by doing a refresh of the browser, which is very unfortunate when people don't know that when installing our package.
Regards Morten.
is working on a reply...