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
If I switch my document properties from textstring to a custom vorto string for example I can not save the document and JS errors are popping up.
TypeError: Cannot read property 'hasOwnProperty' of undefined
DependencyHandler.axd?s=L3VtYnJhY28:11 TypeError: Cannot read property 'isoCode' of undefined
Is there a way to transform a property to a vorto one or do I need to delete it then save my document and then recreate a new one each time ?
Maybe try one of these things first seeing that you have js errors :
Clear the client dependency cache. Go to /Config/ClientDependency.config and increment the version attribute. Additionally you can remove the files in /App_Data/TEMP/ClientDependency
Clear your browser cache
See if the problem still occurs.
Additionally you can try to see if you have the error only when editing existing content. By that I mean content that was created before you switched to Vorto. And try if you have the error when creating new content.
Thanks for answering. I had clear my cache and put debug false which normally don't use ClientDependency and I have done your suggestion but still the same issue.
I can't save and JS, the error is coming from vorto.js line 199 TypeError: Cannot read property 'en-US' of undefined.
I am using 7.4.3 may be this new property editor is not clearing the value when changing property or an additional test should be added in Vorto if there is no Json in the field?
I had the same problem when changing a property from a textstring to a Vortoified textstring. Creating a new property for my Vortorific value and removing the old one worked for me.
Possibly Vorto should have some logic for automagically converting non-vorto values to vorto JSON, but that might be tricky to do in any general way.
I am getting the same error.
Just install the package normally for Umbraco 7.2.6.
Any idea why?
Im getting the same errors. Umbraco version 7.5.10.
Did you find a fix for it?
So this is happening when you switch the property type. The previous data is not a JSON as expected by Vorto. A fix is to delete the property and recreate a new one, as Kalle mention.
Write your reply to:
Image will be uploaded when post is submitted