Hi
I had a long day today debugging why my code was not working. My problem was that I could not download files that were bought and the order was completed. The problem was that license was not created for the user when completed.
I have my whole site with features. So after a minimal installation one only needs to enable one of my features that will enable all the depended modules and the site is installed. It worked if I installed the Commerce kickstart before I installed my features but not minimal or standard profile. And after different debugging I found that I needed to enable the "Commerce Cart" and pause and then enable my features with Commerce Files.
I have read about it before that some installation scripts my fail when enabling several modules in one go.
So it seems to be some problem in enabling commerce file with commerce in one go. At least using drush.
Comments
Comment #1
recrit commentedIt sounds like a dependency issue. I just committed a dependency for commerce_checkout since commerce_file defines checkout completion rules now - http://drupalcode.org/project/commerce_file.git/commit/c56e5f6. Commerce Cart also has a dependency on commerce_checkout, so i suspect that enabling it was fixing the dependency.
Please try the latest snapshot at http://drupalcode.org/project/commerce_file.git/snapshot/c56e5f6.tar.gz
Comment #2
kristofferwiklund commentedI will try it later this week. Right now I have a deadline to meet. But I have tried this following structure:
featureA -> dep: Commerce Checkout & Commerce Cart
featureB -> dep: featureA and Commerce File + my product types.
And enabling featureB with drush in one go is not working. But if I enable featureA first and the featureB in a second command then it works.
Comment #3
recrit commentedpost back if still an issue with the latest dev