Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When commerce files are attached to product variant, changes to access limits are reset to defaults upon saving.
Because the default time limit is Inherit (0), so the files are never made available.
Comment | File | Size | Author |
---|---|---|---|
#1 | Screen Shot 2013-03-07 at 8.57.54 AM.png | 73.92 KB | nigelw |
Comments
Comment #1
nigelw CreditAttribution: nigelw commentedI am seeing this as well.
In the dblog I see
Comment #2
cigotete CreditAttribution: cigotete commentedI have the same behavior, but there is no dblog messages related. In the file field configuration the default values are UNLIMITED, but the 'time limit' value displayed (inherited?) by each product is Inherit (0).
For if is useful, I am creating programmatically the products, so I have added in the data array the desired values:
I know that this is not a solution for the issue, is just for if is useful for someone who has the issue in that context because is a way to bypass the issue.
Comment #3
davvid CreditAttribution: davvid commentedIn bdlog i have:
Unable to modify data "created-product:field-sklep-pdf-file:data:duration": Invalid data value given. Be sure it matches the required data type and format.
I try execute php code in rules that return a value but with no success.
Any ideas?
Comment #4
DamienMcKenna