Image rows with invalid version number for PDM #4696
Labels
🗄️ aspect: data
Concerns the data in our catalog and/or databases
🛠 goal: fix
Bug fix
🟧 priority: high
Stalls work on the project or its dependents
🧱 stack: catalog
Related to the catalog and Airflow DAGs
Description
From the
add_license_url
DAG run, 43 images were found with an invalid license, "PDM 4.0" (version four specifically doesn't exist).Details of rows implied
These are the identifiers of the rows in a query to get more information.
Extracted with this query;
On an analysis of these items, besides the confusion of potentially dealing with a CC0 license instead, given the "License information" provided in landing pages, see, for example, https://digitaltmuseum.org/021176009794/arko-1957, it was determined that these are, in fact, under PDM. From @AetherUnbound:
Proposed solution
To fix this, we'll change the version to "1.0" like the other existing marks in the database. Note that in the query below, the extra two conditions of the last part are not strictly necessary but add a safety check.
Environment
This is in the catalog database.
Additional context
Related to #3885 and #4318.
The text was updated successfully, but these errors were encountered: