Comments (5)
I've created what I think is the right fix here, would you be able to test it?
https://github.com/mattbrailsford/Vorto/tree/bug/convert-source-to-object
from umbraco-vorto.
Sorry didn't have time to test it yet, but the code looks similar to a fix I once made for Archetype so I think this should work :-) kgiszewski/Archetype@07750c7
from umbraco-vorto.
Fixed in commit ea5789d
from umbraco-vorto.
Just thought I'd write a note hear as this fix has been somewhat reversed in the upcoming release as I've now remembered whilst helping someone else fix an issue why ConvertDataToSource is tried first. The reason is that the editor value is saved as JSON rather than as XML like it would be if it was a normal property. The problem is, normally, during the conversion to XML for the XML cache, ConvertDataToSource would be called and this return value is what is stored in the XML, however because our value is stored as JSON, it never has this conversion happen, so we have to have code that runs ConvertDataToSource first, and if the value still isn't correct, then it tries ConvertSourceToObject.
from umbraco-vorto.
Just to note, both methods are still tried, so things should still work as before, it's the fact code was changed to try ConvertSourceToObject first that has been reverted so that ConvertDataToSource is tried first.
from umbraco-vorto.
Related Issues (20)
- Examine search failure for keywords after carriage return when textarea editor with vorto
- Feature request - ModelsBuilder in Vorto HOT 2
- Optimisation: Cache language files for Vorto properties HOT 3
- Our.Umbraco.Vorto.Web.PropertyEditors.VortoPropertyEditor+VortoPropertyValueEditor - Error converting DB value to String HOT 6
- umbraco deploy & vorto-ising existing properties HOT 4
- Votro TextString - fallback to show TextString value on website & backoffice HOT 3
- Vorto API cause blocking when many Vorto properties exist on a document type HOT 1
- Vorto with many rich text fields loses content
- Issue in nested content template HOT 2
- Vorto in SurfaceController HOT 6
- Support for Umbraco v8
- GetVortoValue returns null in 1.7.0 version HOT 11
- Dropdowns and checkboxes HOT 4
- GetVortoValue Doesn't Recurse (v1.7.1) HOT 3
- using Vorto in my custom Sections HOT 1
- VortoValueConverter throws NullReferenceException with trashed content/media item HOT 4
- Porting / reimagining for v8
- Suggestion: Split Vorto into two projects HOT 1
- Make the package more strongly typed (generic typed) HOT 1
- Recursive GetVortoValue -> NullReferenceException HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from umbraco-vorto.