Comments (9)
Are you trying to resolve the RTE value through Ditto? or are you saying
Ditto is stopping you from rendering any RTE value with a macro in
altogether? ie, just trying to render it via @Umbraco.Field()
On 18 June 2015 at 10:48, Thor Jakobsen [email protected] wrote:
I'm trying to render a macro in a richtext editor, and it fails in the
frontend.If i disable Ditto i renders fine.
YSOD
[image: image]
https://cloud.githubusercontent.com/assets/794203/8228544/f0ec5d1e-15af-11e5-82bc-a1fc49875ea1.png—
Reply to this email directly or view it on GitHub
#93.
from umbraco-ditto.
Hi @dunston, I see from the stack-trace that you're using the ModelFactory. Other people have ran into issues with using it too. Personally I stopped using it as I hit some issues - that I couldn't fix.
We'll take a look, but to set expectations - don't hold your breath 🙀
from umbraco-ditto.
Quite a few of the issues associated with eager loading in the manner we do (which conflicts with ModelFactory) can be solved by marking the property as virtual
which invokes lazy loading.
Could you give that a try?
from umbraco-ditto.
@dunston Any updates? Did marking the property with virtual
work for you?
from umbraco-ditto.
@leekelleher sorry the delay.
Making it virtual
did the trick thx.
from umbraco-ditto.
Excellent! Another win for the ProxyFactory! 🎆
from umbraco-ditto.
Cool, thanks for the update @dunston.
from umbraco-ditto.
Just ran into the same problem and marking the property virtual worked. Thanks guys!
from umbraco-ditto.
Great to hear!
from umbraco-ditto.
Related Issues (20)
- DittoCache examples HOT 2
- Changes to lazy properties HOT 7
- Documentation using GitHub Pages HOT 2
- How to bind my model with an action to a DitFloView PartialView HOT 22
- UmbracoPicker returns wrong IPublishedContent in Umbraco 7.5.3 HOT 7
- Base Processor - exposing Umbraco context services HOT 5
- Custom Processor Contexts only persist a single .As() HOT 18
- Ditto Factory misusing `PluginManager.ResolveTypes`? HOT 10
- Ability to Conditionally Stop Processor Chain HOT 24
- XPath Processor? HOT 6
- Decimal mapping always 0 for negative values HOT 7
- Constructor Cache is no longer used HOT 3
- Orphaned Archetype Properties Cause Null Exception During Mapping HOT 3
- Migration to UMCO HOT 1
- Ditto-centric Stack Trace HOT 4
- Ditto processor attributes require a DittoProcessorMetaData attribute to be applied to the class but none was found. HOT 36
- Support for Umbraco v8 HOT 1
- Getting EntryPointNotFoundException on ditto objects HOT 2
- Excessive memory usage HOT 9
- Casting IPublishedContent to specific Model using Ditto mixing up property values between nodes on the same level HOT 3
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-ditto.