After the upgrade from 7.9.3 to 7.10.0 I get this error (attached image).
It occurs if I reload (F5) a page, when the Url is set on a specific node (eg: /umbraco#/content/content/edit/9999). The error interrupts the others js, keeping the page in the "loading state".
It seems Umbraco can't sync the tree on the current node selected by the url.
Does someone have the same problem or it's just mine?
Just tried on Umbraco 7.10.4. Content section seems fine. Formulate (a plugin that's not part of the Umbraco core) has the error, which is initiated from this line in the Formulate JavaScript:
Does your fix apply to plugins as well, or is there some code change also required of plugins?
mainTreeEventHandler.syncTree is not a function
Hi everyone!
After the upgrade from 7.9.3 to 7.10.0 I get this error (attached image).
It occurs if I reload (F5) a page, when the Url is set on a specific node (eg: /umbraco#/content/content/edit/9999). The error interrupts the others js, keeping the page in the "loading state".
It seems Umbraco can't sync the tree on the current node selected by the url.
Does someone have the same problem or it's just mine?
Thank you!
I’ve seen this too. On a clean 7.10 install
I've downgraded to 7.9.3 and the error's gone.
Re-upgraded to 7.10.0 and the error's back.
Clean 7.10.0 install and the error is there (thanks Søren Gregersen).
Should I report the issue?
Thank you
S
Hi Stefano,
you can place this in the issue tracker: http://issues.umbraco.org
Have a nice day.
/Michaël
Same issue here as you Stefano. Basically clean install with uSync.
I would report it with the same description.
Not fixed in 7.10.1. Did you report it?
Hi all,
issue is created on the tracker: http://issues.umbraco.org/issue/U4-11167
Hope this helps!
/Michaël
And my fix has been merged in : https://github.com/umbraco/Umbraco-CMS/pull/2556
Dave
This is fixed in 7.9.4 and 7.10.2
Dave
We're still having this exact issue with 7.10.2 on multiple implementations. Just wondering if anyone else has found a fix I can manually add?
Hi Giles,
can you take the following steps.
Dave
Hi Dave,
Just tried on Umbraco 7.10.4. Content section seems fine. Formulate (a plugin that's not part of the Umbraco core) has the error, which is initiated from this line in the Formulate JavaScript:
Does your fix apply to plugins as well, or is there some code change also required of plugins?
Hi Nicholas,
That is because you are calling the sync tree method directly in your code :
https://github.com/rhythmagency/formulate/blob/master/src/formulate.app/JavaScript/Services/formulateTrees.js#L31
And this can be null if the tree has not finished initializing yet.
May you can handle it this way, by handling the promise that syncTree returns.
https://github.com/dawoe/umbraco-tour-editor/blob/develop/Source/Our.Umbraco.TourEditor/Web/App_Plugins/TourEditor/scripts/controllers/edit-file-controller.js
Dave
is working on a reply...