sciapp / sampledb

Sample and Measurement Metadata Database
https://scientific-it-systems.iffgit.fz-juelich.de/SampleDB/
MIT License
21 stars 11 forks source link

Updated schema template not updated in action #45

Closed NilsWeber98 closed 1 year ago

NilsWeber98 commented 1 year ago

I have an action using a schema template. A change in the schema template is not applied in the action until I edit the action and save it. Is this known or intentional?

If needed, I could provide an example or construct a minimal code to reproduce.

FlorianRhiem commented 1 year ago

Thank you for reporting that bug, it should be fixed in this commit. A piece of logic for avoiding recursive template updates (e.g. template A includes template B which is updated to include template A) broke template updates. I've added regression tests for the template update actually working.

NilsWeber98 commented 1 year ago

Yes, it works now. Thank you.