Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hey all,
For some reason after saving and publishing a node that has Vorto editors (e.g textsting wrapped in vorto) results in content not being saved.
This happens only after a node is saved and published and there is no data in all languages. (when switching languages).
JS seems to throw error: Cannot read property 'fr-FR' of null The issue is in Line 392
scope.model.value = scope.value.values[scope.language];
Here scope.value.values is null.
Any ideas on how to fix it?
vorto 1.5.2, umbraco 7.4.3
Been playing with it a bit. It seems that if I do:
//$scope.model.value.values = !_.isEmpty(cleanValue) ? cleanValue : undefined; $scope.model.value.values = cleanValue; // <== this helps
(vorto.js file on github)
the issue disappears.
https://github.com/mattbrailsford/umbraco-vorto/pull/53
Created a pull request with a possible solution
I created a pull request for the same problem. Only solved it different : https://github.com/mattbrailsford/umbraco-vorto/pull/59
Dave
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Vorto without Nested Content: Content not saved after publishing
Hey all,
For some reason after saving and publishing a node that has Vorto editors (e.g textsting wrapped in vorto) results in content not being saved.
This happens only after a node is saved and published and there is no data in all languages. (when switching languages).
JS seems to throw error: Cannot read property 'fr-FR' of null The issue is in Line 392
scope.model.value = scope.value.values[scope.language];
Here scope.value.values is null.
Any ideas on how to fix it?
vorto 1.5.2, umbraco 7.4.3
Been playing with it a bit. It seems that if I do:
(vorto.js file on github)
the issue disappears.
https://github.com/mattbrailsford/umbraco-vorto/pull/53
Created a pull request with a possible solution
I created a pull request for the same problem. Only solved it different : https://github.com/mattbrailsford/umbraco-vorto/pull/59
Dave
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.