I am getting the below on my update.php page:
Some of the pending updates cannot be applied because their dependencies were not met.
7219 - Remove Commerce Kickstart payment example and enable Commerce payment example.
This update will been skipped due to the following missing dependencies: commerce_discount_update_7104
Can't understand why, I don't even touch the discount stuff and I can't see where in the code 7104 is listed as a dependency of 7219 :S
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | commerce_kickstart.install.txt | 39.25 KB | alexp999 |
Comments
Comment #1
lsolesen commentedThe dependency is listed here:
http://drupalcode.org/project/commerce_kickstart.git/blob/refs/heads/7.x...
As you can see here --> without the dependency there will be an update error: https://travis-ci.org/lsolesen/commerce_kickstart/jobs/23965835
The update should be included in commerce_discount bundled with commerce_kickstart --> see here http://drupalcode.org/project/commerce_discount.git/blob/refs/heads/7.x-...
Comment #2
lsolesen commentedComment #3
lsolesen commentedIs this related to #2248025: Commerce Discount error prevents database update
Comment #4
alexp999 commentedJust checked and commerce discount is not enabled.
I imagine that is why the update has not been run. Surely an update shouldn't be dependant on an update from another module, which itself is not a module dependency (required by).
Comment #5
lsolesen commentedComment #6
alexp999 commentedI changed that bit for the dependency to the below:
Which is the same as what was done around line 1132 for another update. Just updated without any errors :)
Comment #7
lsolesen commentedYeah. I was thinking along the same lines. Could you create a patch - or should I author it?
Comment #8
londova commentedHello,
Could you please describe how to pass this issue in a NON-technical language.
I have the dame issue, but didn't understand where an what should I change.
Thanks.
Comment #9
alexp999 commented@lsolesen
If you could create the patch, I have tried making patches before but cannot get them to output properly.
I have attached the complete file if it helps.
Comment #10
alexp999 commentedJust noticed there is this in the dependency list too:
I'm surprised I didn't get stuck on this one? Does this need to be included in the conditional?
Comment #11
tgeller commentedSee also #2248025: Commerce Discount error prevents database update. Thanks to @lsolesen for connecting the dots.
Comment #12
lsolesen commented@alexp999 You should learn how to create a patch :) Here is a good explanation: https://drupal.org/node/707484
@alexp999 #10 That update has run in previous Kickstart versions, and the dependency has just been introduced in the 2.14 version.
If the tests passes for this pull request, this should be fixed.
https://github.com/commerceguys/commerce_kickstart/pull/46
Comment #13
lsolesen commented