Closed (fixed)
Project:
Chaos Tool Suite (ctools)
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
4 Jun 2013 at 23:44 UTC
Updated:
1 Jan 2015 at 20:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
merlinofchaos commentedI think the problem is really in CTools, not Panels. It should be safe to call that. That particular plugin should play more nicely.
Comment #2
hefox commentedI considered that also, but should panels be processing non-existant content types?
Comment #3
merlinofchaos commentedIt's not the content type that doesn't exist, it's the underlying field info. Panels has no way of knowing if underlying data is missing or not; the content type itself is responsible for that.
Comment #4
mpotter commentedEven though I think this can be pushed up to ctools, I'm rerolling this patch for the latest Panels 3.x-dev so I can roll an Open Atrium release.
Comment #5
joelpittetThis happens to me when I deleted a field that was used in a panel.
Would a better solution be to check if context is an object and if not, log a watchdog warning and return unknown?
Patch for that attached.
Note the file attached is for ctools.
Comment #7
mpotter commentedWould potentially be good but have a typo: "identitfier" instead of "identifier"
Comment #8
joelpittetDamn, I feel like a huge identit;) Fixed thanks for noticing @mpotter
Comment #9
joelpittetRe-rolled, didn't apply anymore.
Comment #10
joelpittetWhoops had it assigned so some ctools sandbox:S No wonder it got no attention.
Comment #11
japerryReview looks good and is working well for me. I'll keep testing it for a little bit to make sure nothing breaks. Otherwise, RTBC.
Comment #14
joelpittetStill applies, thanks @japerry:)
Comment #15
kobb commentedSame problem here. Patch in #9 worked for me. Thanks @ joelpittet
Comment #16
joelstein commentedPatch in #9 worked for me. Thanks!
Comment #17
dsnopekPatch in #9 works great! RTBC +1!
We're going to include this in Panopoly soon.
Comment #18
ergophobe commentedThis now *is* included in Panopoly.
Comment #19
japerryHrm somehow I missed this when we did the commits a few months ago. This has been working for me as well, committed.
Comment #21
dsnopekWoohoo! Thanks. :-)