Closed (fixed)
Project:
Features
Version:
6.x-1.0-alpha5
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
21 Jul 2009 at 17:04 UTC
Updated:
1 Oct 2009 at 22:12 UTC
Jump to comment: Most recent
First: thank you for this very interesting module.
Second: a bug report :)
When exporting exportables to a feature, in "Step 3: confirm components" there is an option to add extra "Module dependencies", which I used.
Now, after tweaking some CCK definitions and views, I chose "update" to get an updated feature tarball.
Apparently the additional module dependencies are lost from the info file,
as illustration, the diff of my info file:
-version = "0.2"
+version = "0.3"
features[content][] = "project-field_date"
features[content][] = "project-field_images"
features[content][] = "project-field_location"
-features[dependencies][] = "date_api"
-features[dependencies][] = "date_popup"
-features[dependencies][] = "filefield"
-features[dependencies][] = "imageapi"
-features[dependencies][] = "path"
features[imagecache][] = "lightboxpopupsize"
features[imagecache][] = "square200"
features[imagecache][] = "thumbnail"
features[node][] = "project"
features[views][] = "projects"
dependencies[] = "date"
-dependencies[] = "date_popup"
dependencies[] = "features"
dependencies[] = "imagecache"
dependencies[] = "imagefield"
dependencies[] = "lightbox2"
dependencies[] = "node"
-dependencies[] = "path"
-dependencies[] = "taxonomy"
dependencies[] = "text"
dependencies[] = "views"
Comments
Comment #1
Anonymous (not verified) commentedI'm tracing this problem and I've found the following:
Comment #2
moshe weitzman commentedThats pretty unexpected IMO.
Comment #3
amitaibusubscribe
Comment #4
yhahn commentedAgreed - the change will probably disallow features from automatically removing any dependencies, meaning that if you've changed your feature such that it no longer depends on a module you'll need to remove the dependency manually.
Sound reasonable?
Comment #5
Anonymous (not verified) commentedyhahn:
It sounds reasonable to me.
Comment #6
yhahn commentedThis should be addressed by this rather massive commit: http://drupal.org/cvs?commit=262446
I would love to get some 2nd eyes on this to make sure the changes are relatively bug free.
Comment #7
yhahn commentedClosing. This is now fixed.