Account created on 7 March 2008, over 17 years ago
  • Senior Software Engineer at Centarro 
#

Merge Requests

More

Recent comments

🇺🇸United States TomTech

@elc,

Thanks for the report!

Will work on getting this resolved.

🇺🇸United States TomTech

HI @nojj,

The reference date is NOT a start date.

The 3 license plugins provided by the module OOTB all grant the license when the order is placed. (Unless configured not to...in which case, it needs to be activated manually.)

Unlimited grant immediately, with no expiration date.

Rolling grants immediately, with the expiration date determined from the current date, e.g. a 1 month interval will expire 1 month from now.

Reference Date grants immediately, with th expiration date determined by the reference date.

Some examples:

If the reference date is 1/1/xxxx, and the interval is 1 month...
if today is 1/1/2025, the user's license will expire 2/1/2025.
if today is 1/10/2025, the user's license will expire 2/1/2025.
if today is 1/29/2025, the user's license will expire 2/1/2025.
if today is 3/1/2025, the user's license will expire 4/1/2025.
if today is 3/15/2026, the user's license will expire 4/1/2026.
etc...

If the reference date is 1/15/xxxx, and the interval is 1 month...
if today is 1/1/2025, the user's license will expire 1/15/2025.
if today is 1/10/2025, the user's license will expire 2/15/2025.
if today is 1/29/2025, the user's license will expire 2/15/2025.
if today is 3/1/2025, the user's license will expire 3/15/2025.
if today is 3/15/2026, the user's license will expire 4/15/2026.
etc...

If the reference date is 1/1/xxxx, and the interval is 1 year...
if today is 1/1/2025, the user's license will expire 1/1/2026.
if today is 1/10/2025, the user's license will expire 1/1/2026.
if today is 1/29/2025, the user's license will expire 1/1/2026.
if today is 3/1/2025, the user's license will expire 1/1/2026.
if today is 3/15/2026, the user's license will expire 1/1/2027.
etc...

If the reference date is 1/1/2026, and the interval is 2 years...
if today is 1/1/2025, the user's license will expire 1/1/2026.
if today is 1/10/2025, the user's license will expire 1/1/2026.
if today is 1/29/2025, the user's license will expire 1/1/2026.
if today is 3/1/2025, the user's license will expire 1/1/2026.
if today is 3/15/2026, the user's license will expire 1/1/2028.
etc...

The reference date is a reference, not a start(granted) date.

Licenses are normally granted/activated when the order is paid. They can also be configured to by granted/activated when the order is placed.

For the scenario described, you would need to do the following:
1. Ensure that licenses are NOT configured to activate on placed.
2. Disable the License Order Subscriber Placed event
3. Add some logic on license save to set the (future) grant date
4. set up a scheduled/cron job to activate licenses when the (future) grant date arrives

🇺🇸United States TomTech
🇺🇸United States TomTech

tomtech created an issue.

🇺🇸United States TomTech
🇺🇸United States TomTech

tomtech created an issue.

🇺🇸United States TomTech
🇺🇸United States TomTech

tomtech created an issue.

🇺🇸United States TomTech

The suggested newline is not correct.

I think you are overlooking a block in core/.prettierrc.json.

While printWidth is initially set to 80...a few lines down it is specifically overwritten for css files to be 10000, along with using a specific css parser.

See: https://git.drupalcode.org/project/drupal/-/blob/11.x/core/.prettierrc.j...

Specifically, this override for css was added when stylelint configuration added a prettier configuration, along with using a specific css parser. See the commit here:

https://git.drupalcode.org/project/drupal/-/commit/1fbf9f5d2b589e17b7c67...

🇺🇸United States TomTech

@jonathan1055,

Here is a link to a failed gitlab stylelint job.

https://git.drupalcode.org/project/commerce_paypal/-/jobs/6229973

I was able to fix it in the project by copying prettierrc.json from core/.

I copied the lines directly from the eslint job for consistency, but understandably, the line for .prettierignore can be removed. (We can't copy the one from core, as the paths wouldn't be correct.) I'll update the MR.

🇺🇸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.

🇺🇸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.

🇺🇸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.

🇺🇸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.

🇺🇸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.

🇺🇸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.

🇺🇸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.

🇺🇸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.

🇺🇸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.

🇺🇸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.

🇺🇸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.

🇺🇸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.

🇺🇸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.

🇺🇸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.

🇺🇸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.

🇺🇸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.

🇺🇸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.

🇺🇸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.

🇺🇸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.

🇺🇸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.

🇺🇸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.

🇺🇸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.

🇺🇸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.

🇺🇸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.

🇺🇸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.

🇺🇸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.

🇺🇸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.

🇺🇸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.

🇺🇸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.

🇺🇸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.

🇺🇸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.

🇺🇸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.

🇺🇸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.

🇺🇸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.

🇺🇸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.

🇺🇸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.

🇺🇸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.

🇺🇸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.

🇺🇸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.

🇺🇸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.

🇺🇸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.

🇺🇸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.

🇺🇸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.

🇺🇸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.

🇺🇸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.

🇺🇸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.

🇺🇸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.

🇺🇸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.

🇺🇸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.

🇺🇸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.

🇺🇸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.

🇺🇸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.

🇺🇸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.

🇺🇸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.

🇺🇸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.

🇺🇸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.

🇺🇸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.

🇺🇸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.

🇺🇸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.

🇺🇸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.

🇺🇸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.

🇺🇸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.

🇺🇸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.

🇺🇸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.

🇺🇸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.

🇺🇸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.

🇺🇸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.

🇺🇸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.

🇺🇸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.

🇺🇸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.

🇺🇸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.

🇺🇸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.

🇺🇸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.

🇺🇸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.

🇺🇸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.

🇺🇸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.

🇺🇸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.

🇺🇸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.

🇺🇸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.

🇺🇸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.

Production build 0.71.5 2024