hbz / lobid-resources

Transformation, web frontend, and API for the hbz catalog as LOD
http://lobid.org/resources
Eclipse Public License 2.0
9 stars 7 forks source link

License from 540/542 is not transformed #2103

Open acka47 opened 3 days ago

acka47 commented 3 days ago

Reported in FRL-624.

Example 99375068790006441 (MARC, JSON). From the MARC:

<datafield tag="540" ind1=" " ind2=" ">
  <subfield code="a">
    Creative Commons Attribution 4.0 International License
  </subfield>
  <subfield code="f">CC-BY 4.0</subfield>
  <subfield code="2">cc</subfield>
  <subfield code="u">https://creativecommons.org/licenses/by/4.0/</subfield>
</datafield>
<datafield tag="542" ind1="1" ind2=" ">
  <subfield code="a">https://creativecommons.org/licenses/by/4.0/</subfield>
</datafield>

Here is the relevant fix:

https://github.com/hbz/lobid-resources/blob/ab7451b4c3d9dbac3f7f89d2147d1364a4015b4d/src/main/resources/alma/fix/otherFields.fix#L179-L184

dr0i commented 2 days ago

Should be deployed next Monday.