Skip to content

Conversation

@tdruez
Copy link
Contributor

@tdruez tdruez commented Feb 14, 2025

This is likely a side effect of recent changes on the update_from_data() method that builds a update_fields list to trigger a proper SQL UPDATE.

The associated package/license policy is properly set on the model in SetPolicyFromLicenseMixin but the usage_policy entry is missing from the update_fields. As a result the usage_policy value is not included in the UPDATE.

Also contains a workaround for #30

@tdruez tdruez merged commit 7fc145e into main Feb 18, 2025
3 checks passed
@tdruez tdruez deleted the 200-automatic-policy branch February 18, 2025 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant