- πΊπΈUnited States TomTech
Automatically closed because Drupal 7 security and bugfix support has ended β as of 5 January 2025. If the issue verifiably applies β to later versions, please reopen with details and update the version.
Currently a license is created in commerce_license_commerce_line_item_presave() and then later activated via rule execution with commerce_license_get_order_licenses(). In the first function, the licenses are attached to a product line item at the top level of the order entity.
This does not work for products that use an alternative structure, like Commerce Product Bundle β , which stores them as sub-products.
Include drupal_alter() hooks in commerce_license_commerce_line_item_presave() and commerce_license_activate_order_licenses() to allow other modules to support Commerce License integration.
This change would need to be documented in commerce_license.api.php
I'll have a patch to add that shortly.
Closed: outdated
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Automatically closed because Drupal 7 security and bugfix support has ended β as of 5 January 2025. If the issue verifiably applies β to later versions, please reopen with details and update the version.