I have a fresh D7 installation.

I don't understand this error message and don't really know how to troubleshoot. I tried to emulate "Commerce Download" setting. I tried using Features Commerce Download from Commerce Download. Still could not get rid of the error.

Here are the screenshots.

Any idea?

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

recrit’s picture

That install profile uses beta1 which is no longer recommended. Please update to dev and run update.php.

jessicakoh’s picture

Still the same error.

Any other workaround?

Axel Pressbutton’s picture

Hi Recrit,

I'm getting exactly the same problem here and have updated to the latest snapshot of commerce_file.

Using the following module versions;

Address Field 7.x-1.0-beta1
Commerce 7.x-1.0
CTools 7.x-1.0-rc1
Entity 7.x-1.0-beta10
Rules 7.x-2.0-rc1
Views 7.x-3.0-rc1

Axel Pressbutton’s picture

Update...

Updated from Drupal 7.4 to 7.7, disabled, uninstalled and enabled commerce_file via drush and received the same/following errors;

WD rules: The rule Control access to licensed file downloads (commerce_file_license_download_access) fails the integrity check and cannot be executed. Error: or: Specifying state variables is not possible for child elements.
[error]

WD rules: The rule Revoke licenses on order update (commerce_file_license_revoke_order) fails the integrity check and cannot be executed. Error: or: Specifying state variables is not possible for child elements.
[error]

recrit’s picture

this seems to occur after updating to Commerce 1.0... digging in now to find out why

recrit’s picture

Status: Active » Needs review

updated the default rules per commit http://drupalcode.org/project/commerce_file.git/commit/ba438da
You can download the snapshot there. The rules will need reverted to those in the new code.

Axel Pressbutton’s picture

As ever, many thanks for the fast response and super quick fix.

I'll grab that commit, test and give feedback.

Axel Pressbutton’s picture

Tested and all looks good, thanks!

jessicakoh’s picture

Status: Needs review » Reviewed & tested by the community

Tested. Thank you, recruit.

Appreciated. Keep up the good work.

p/s: Those apply the snapshot, remember to clear the Drupal cache.

recrit’s picture

Status: Reviewed & tested by the community » Fixed
videokuenstler’s picture

hey,

i changed the file 'commerce_file.rules_defaults.inc' to the new version at my drupal installation in the 'profiles/commerce_downloads/modules/commerce_file' folder.

how can i revert 'The rules to those in the new code.' now ?

sorry, im quite new to drupal but fascinated...

thanks, L*

videokuenstler’s picture

oh, looks like i forgot to clear the cache... seems to work now.

tvilms’s picture

Commerce File downloads work for me too now. I upgraded to the latest dev release, "reverted" the rules showing the errors (at admin/config/workflow/rules), and then cleared cache. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.