-
Bug
-
Resolution: Done
-
High
-
None
-
None
-
SIMPLY S2 Jan 19 - Feb 2, SIMPLY S3 Feb 2 - 16, SIMPLY S4 Feb 16 - March 2, SIMPLY S5 March 2 - March 16, SIMPLY S6 March 16 - March 30
The migration script 20200702-add-licensepool-self_hosted-field.sql created the field licensepools.self_hosted but didn't set the default value defined in the ORM. As a result, circulation managers migrated from earlier releases have a lot of licensepools whose self_hosted field is null.
This can break queries that assume self_hosted has a boolean value, most notably Collection.restrict_to_ready_deliverable_works.