When I visit an ordinary product display node (which has a product which has a commerce file) I get this message:

Error message
You cannot upload a file. Commerce File requires a private file scheme. Visit admin/config/media/file-system to set your private file path. Optionally, a private scheme other than Drupal's may be implemented.
There are private file schemes available on your system. Visit the field settings to select a private scheme allowed for this field.

rfay_dell_gazelle_Selection_046.png

CommentFileSizeAuthor
rfay_dell_gazelle_Selection_046.png32.81 KBrfay

Comments

rfay’s picture

Hmm... and if I'm not mistaken and not crazy, it's also preventing adding to cart.

recrit’s picture

Status: Active » Needs review

I believe this was being triggered by cart refresh since there is a file field on the line item... which oddly enough I still got the error even when nothing was in my cart. I have added a check to not validate fields that have been added during install.
http://drupalcode.org/project/commerce_file.git/commitdiff/d428a4c

This should address your issue and provide a temporary fix for #1239304: License File Field should be scheme independent.
Let me know if the error goes away.

rfay’s picture

Status: Needs review » Fixed

Solved my problem! Thanks so much. And I can add things to the cart now too!

Status: Fixed » Closed (fixed)

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