Closed (fixed)
Project:
Commerce Core
Version:
7.x-1.x-dev
Component:
Commerce
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Dec 2010 at 04:05 UTC
Updated:
18 Jan 2011 at 05:10 UTC
I'm trying to install Commerce, however this line seems to be breaking Commerce UI:
sites/all/modules/contrib/commerce/modules/payment/commerce_payment_ui.module
73: $controller = new RulesUIController();
There's no RulesUIController in Rules-7.x-1.x-dev
Cheers
Comments
Comment #1
aidanlis commentedSeems like it was introduced here: https://drupal.org/node/904978
Comment #2
rszrama commentedI saw this error at one point, too, but I haven't seen it recently... If I remember right, it was because I had to introduce a dependency on rules_admin. Rules Admin defines the missing class, so the question is... why isn't Drupal picking up on it? Is it because Drupal isn't installing Rules Admin before installing Payment UI? Or is there something else odd happening? How exactly are you attempting the install?
Comment #3
arturro commentedclass RulesUIController is only in 7.x-2.x-dev, not in version: 7.x-2.0-alpha3
Comment #4
xibun commented+1
Comment #5
rszrama commentedAhh, perhaps I should specify the -dev versions for Rules, Entity, and Views. Updating the project page now. Let me know if there's still some remaining issue here.
Comment #6
damien tournoud commentedDrupal 7 supports version dependencies, so you could specify:
rules_admin (>2.0-alpha3)in your dependencies.Comment #7
rszrama commentedAhh, cool - I suppose the > operator will accept any dev version with a later date than the indicated release?
Comment #8
damien tournoud commentedI don't really know :)
Comment #9
xibun commentedI now updated the required modules and the problem is gone (see comment #5).
Note: I was already using the .dev versions - but dated 21th December 2010.
Comment #10
rszrama commentedA brief investigation of version dependencies didn't see an easy way to target dev versions since they don't have version strings at all... it looks like Drupal core might not know what to do in those situations.
Gonna mark this fixed and hope the documentation on the project page helps enough. It'll be a moot point the next time Rules does a point release, and soon everyone will update their dev versions.