Closed (outdated)
Project:
Chaos Tool Suite (ctools)
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
23 Oct 2012 at 20:46 UTC
Updated:
20 Jul 2026 at 17:47 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
mpotter commentedDid you revert the feature in the db, or was this on a fresh install of the feature to a new site? Unfortunately, once you start editing the export file by hand there isn't much Features can do to help you. Features uses a general API that modules like Context follow, so there is no way Features can make specific exceptions to specific fields for specific modules.
Comment #2
joachim commentedI'm setting this on D6.
> Unfortunately, once you start editing the export file by hand there isn't much Features can do to help you.
But my Context was initially disabled, and Features exported it as initially enabled! There's no other way to have its disabled status in the Feature.
Is this perhaps caused by Context not exporting the status of a context object?
Comment #3
joachim commentedYup, that's the problem. Well, in CTools rather than Context.
In D6, this is the cause, in ctools_export_object()
The object's status is not taken into account when that line of export code is written. I imagine the problem is the same in D7, as CTools is pretty similar on both 6 and 7.
Comment #4
alisonSo is there anything we can do? I'm experiencing this problem now (using D7).
(and/or should we be carrying on with this in the ctools queue, @joachim ?)
Comment #5
claudiu.cristeaYes, it belongs to CTools.
Comment #6
claudiu.cristeaThis should fix the false override.
Comment #7
claudiu.cristeaBetter.
Comment #8
claudiu.cristeaAvoid PHP notices.
Comment #9
chris matthews commentedThe 3 year old patch in #8 to export.inc does not apply to the latest ctools 7.x-1.x-dev.
Comment #10
yoftahe.addweb commented@Chris, Please review my attached patch that rerolled for 7.x-1.x-dev, kindly review it.
Thanks!..
Comment #11
japerryDrupal 7 is no longer supported, closing.