Closed (fixed)
Project:
Features
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
14 Jul 2010 at 21:11 UTC
Updated:
24 Dec 2010 at 03:14 UTC
Jump to comment: Most recent
As of beta8, when recreating features that include Views, the .info file is getting the following:
features[views_api][] = "api:2"
When multiple features contain this in their .info file, they show up as in conflict with one another. Not sure why, but it's problematic. I'm working around currently by removing this line from the .info file.
Comments
Comment #1
yhahn commentedHm, the only way you would have such a key in your info file is if the feature was created with Features dev... and I can see such a feature being deployed on an older version of Features causing problems.
Are you sure the Feature wasn't made on a very recent version of Features and then deployed on an older version?
Comment #2
jonskulski commentedYoung,
Sounds like it. our features life cycle as follows:
beta5
dev (API.txt/1.1.2.4)
beta8
with most features created with beta5, some in the -dev branch (can't confirm, but probably) and everything running on beta8.
Josh has found that removing that line seems to be a solution and doesn't seem to have any other issues.
Comment #3
yhahn commentedI've actually found a problem with the
hook_features_apideclaration that will affect -dev as well here... Will fix shortly. As mentioned above, the next version of Features will alter the Views exports slightly so you'll eventually want all of your sites up to date when the release happens.Comment #4
yhahn commentedFixed with http://drupalcode.org/viewvc/drupal/contributions/modules/features/inclu...
Comment #6
Anonymous (not verified) commentedI just encountered this error again.
I created a feature with -beta8 and installed it on a new site using features-rc1. Commenting out the line in the .info file made the conflict go away.
Thoughts?
Comment #7
transmitter commentedThat's weird .. it happens for me as well.
With strongarm api and the views api - everything in a brandnew installation with the 6x10 version.
I just created my features and wanted to enable them into a fresh install and then it ran into this problem.
Commenting out the lines:
// features[ctools][] = "strongarm:strongarm:1"
// features[views_api][] = "api:2"
made it.
But why does the feature module create those lines, if it can't handle them?
Or did I do sth wrong?