Hey, all. I was hoping for a response to this problem. It's a bit of a problem and I'm not sure how best to proceed. Again, if you want this submitted as an issue, I can do that, but having to turn code caching on in dev to fix this is a band aid I'd like to not have be necessary long term.
Thank you! Eric On Wednesday, February 6, 2013 11:51:21 AM UTC-5, saalon wrote: > > Since my upgrade from 1.0.1 to 1.1.1 I've come across a few issues that I > think are related. I can submit this as an issue to Radiant in Github, but > before doing so wanted to run it by the group. Here's what's going on: > > Since the upgrade, if cache classes is off, extensions are initializing > with every page load, including any patches to classes. This manifests in a > few ways. > > One is that if you add anything to alias_method_chain, it's being added > with every page load. This means the first time you load a page, it works > fine. But if you load it a second time, you get an infinite loop and a > stack level too deep error. This is described here: > https://groups.google.com/forum/?fromgroups=#!topic/radiantcms/Cgvpyv1BJck > > The other was a problem that I thought existed in the new Snippets > extension, but I now believe is related to this issue. I'd described a > situation where fields added to snippets pages from any other extension add > multiple times. Every time that page is loaded, the field is added another > times. Reload the page 10 times, you get 10 instances of that field being > added. > > My initial post about the snippets problem is here: > https://groups.google.com/forum/?fromgroups=#!topic/radiantcms/OeQ_fHdW0aQ > The github issue I posted about it on the Snippets extension is here: > https://github.com/radiant/radiant-snippets-extension/issues/3 > > This problem doesn't manifest in production, because classes are being > cached there. This occurs in Webrick in development mode if you have class > caching turned off. Based on the stack too deep post above, My guess is > this issue was introduced in the 1.1.0 release of Radiant. > > Eric > > -- --- You received this message because you are subscribed to the Google Groups "Radiant CMS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
