Skip to content

CS error processing relationship 'isRelatedMaterial'

Background

A submission containing the relationship 'isRelatedMaterial' is generating an error (Error processing relations: Unknown relationship-type: isRelatedMaterial) see sub ID 1521408869

This issue has popped up before (there was a JIRA ticket for this in 2019 CS-4184) but it looks like only part of the problem was fixed. At the time, it was identified that a number of relationships were missing from this file but only one relationship was added:

https://gitlab.com/crossref/content_system/-/blob/develop/java/org/crossref/ds/relations/RelationTypes.java

These relationships are missing from RelationTypes.java but are present in the relations.xsd and should be supported:

hasDerivation isRelatedMaterial replaces

Observed behavior

A submission with the relationship 'isRelatedMaterial' contains this error (see sub ID 1521408869):

 <record_diagnostic status="Failure" msg_id="40">
      <doi>10.17077/mi78-qbh0</doi>
      <msg>Error processing relations: Unknown relationship-type: isRelatedMaterial</msg>
   </record_diagnostic>

Expected behavior

A successful relationship

How urgent

Definition of ready

  • Product owner: @SaraBowman / @mrittman
  • Tech lead:
  • Service:: label applied
  • Definition of done updated
  • Acceptance testing plan:
  • Weight applied

Definition of done

  • Unit tests identified, implemented, and passing
  • Code reviewed
  • Available for acceptance testing via a staging URL, or otherwise
  • Consider any impacts to current or future architecture/infrastructure, and update specifications and documentation as needed
  • Knowledge base reviewed and updated
  • Public documentation reviewed and updated
  • Acceptance criteria met
    • AC 1
    • AC 2
  • Acceptance testing passed
  • Deployed to production

Notes

Edited by Patrick Polischuk
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information