Upgrade to 8.9 causes rte in Grid app_plugins to break
Hi,
We are currently using an RTE in our own bespoke Grid control. In 8.6 it works but in 8.9 it has stopped working.
The error we get is
angular.js?cdv=1056369746:15635 TypeError: Cannot read property 'callback' of null
at Object.reset (umbraco.services.js?cdv=1056369746:9442)
at Object.submitForm (umbraco.services.js?cdv=1056369746:4866)
at BoxPlainBlockEditorController.submit (s8080.boxplainblock.editor.controller.js?cdv=1056369746:61)
at fn (eval at compile (angular.js?cdv=1056369746:16486),
Hi,
As a follow on – the error is failing at the Callbacks list in the UmbracoService.js file in the function reset().
When I add a custom block that has an RTE it adds a NULL callback.
Is there a way around this?
Upgrade to 8.9 causes rte in Grid app_plugins to break
Hi,
We are currently using an RTE in our own bespoke Grid control. In 8.6 it works but in 8.9 it has stopped working.
The error we get is
angular.js?cdv=1056369746:15635 TypeError: Cannot read property 'callback' of null at Object.reset (umbraco.services.js?cdv=1056369746:9442) at Object.submitForm (umbraco.services.js?cdv=1056369746:4866) at BoxPlainBlockEditorController.submit (s8080.boxplainblock.editor.controller.js?cdv=1056369746:61) at fn (eval at compile (angular.js?cdv=1056369746:16486),
Our edit control html looks like:
and the code where it is breaking is here:
Any ideas?
Thanks
Jon
Hi, As a follow on – the error is failing at the Callbacks list in the UmbracoService.js file in the function reset(). When I add a custom block that has an RTE it adds a NULL callback. Is there a way around this?
I have found the fix - we just need to add property-alias to the umb-property:
is working on a reply...