whole-tale / girder_wholetale

Girder plugin providing basic Whole Tale functionality
BSD 3-Clause "New" or "Revised" License
3 stars 5 forks source link

Simultaneous change of imageId and config for a Tale is not possible #513

Closed Xarthisius closed 2 years ago

Xarthisius commented 2 years ago

Back in a day Tale's config was tied to Image more closely. Therefore we had a check that reset the config, whenever the imageId was changed. It effectively prevents us from changing both Image and Tale specific config in one request.

How to reproduce?

  1. Create a Tale with imageId_1 and config {"some_key": "some_value"}
  2. Update the Tale changing imageId to imageId_2 and config {"some_other_key": "some_other_value"}

Expected result

Tale has config equal to {"some_other_key": "some_other_value"}

Actual result

Tale has config equal to {}