Granted date can be wrong when used with long-lived Advanced Queue

Created on 28 November 2014, over 10 years ago
Updated 19 August 2025, 5 days ago

License granted time comes from commerce_license_get_time, which is set once and never updated.

However if licenses are getting activated in the Synchronization queue powered by Advanced Queue and drush, all licenses activated with the long-live queue consumer process will be the same, even if they were activated hours, days, weeks later.

I'm attaching a very simple patch that may suffice to fix the issue.

πŸ› Bug report
Status

Closed: outdated

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States sarvab

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024