GreenDelta/epd-editor

source dataset referenced under referenceToOriginalEPD not being picked up during dependency update check

okworx opened this issue · 2 comments

It appears that when the application checks for dependencies that have been updated, changes of source dataset(s) referenced under referenceToOriginalEPD are not being picked up as expected.

test case:

  • create two sources, source1 and source2
  • create a new EPD dataset
  • reference source1 under "data sources" and source2 under "reference to original EPD"
  • save the EPD dataset and close it
  • now open both source1 and source2 and increment the version number
  • save both datasets
  • open the EPD dataset from above, you will be asked whether references shall be updated, confirm with yes

observed behavior:

  • the reference to source1 will be updated to the latest version, but not the one to source2 (verified via XML view)

expected behavior:

  • the reference to both source1 and source 2 will be updated to their latest version, respectively

Other fields possibly affected

It is possible that the other fields that have recently been added are affected, too (hasn't been verified):

  • Documentation of data quality management referenceToDataHandlingPrinciples
  • Issuer referenceToRegistrationAuthority
  • Data set generator / modeller referenceToPersonOrEntityGeneratingTheDataSet
  • Commissioner of data set referenceToCommissioner
  • publisher of the data set referenceToPublisher

Workaround

After updating it, remove the referenced object from the EPD dataset and add it again.

should be fixed in 5.1.0