If you manually create an Access Control license for a user and activate it, the site will error out with.
Drupal\Core\Entity\EntityStorageException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'acl_id' cannot be null: INSERT INTO "acl_user" ("acl_id", "uid") VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1); Array ( [:db_insert_placeholder_0] => [:db_insert_placeholder_1] => 28213 ) in Drupal\Core\Entity\Sql\SqlContentEntityStorage->save() (line 811 of core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php).
Also, when viewing all licenses on the /admin/commerce/licenses page, the label for this new license incorrectly shows it as "Access Control License" instead of the actual name from the product variation label.
The problem is that the commerce_license__acl_id table is missing an entry for this license. In my tests, manually inserting a row with the relevant license data, then clearing the site cache, allows the admin to save and Confirm Activation without error. This also fixes the incorrect name shown on the admin license page.
Not sure what area code needs to be modified or if this is an issue with the parent Commerce License module.
Active
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.