rdmo icon indicating copy to clipboard operation
rdmo copied to clipboard

Importing project that uses unknown/missing catalogue uses random other catalogue

Open hardfalcon opened this issue 2 years ago • 5 comments

It appears that if you import a project which uses a catalogue that the importing RDMO instance doesn't know, another random catalogue is used instead without even showing a warning. This bug was found by @jmfrenzel.

hardfalcon avatar Apr 21 '22 11:04 hardfalcon

It should be the first catalog that is used, I guess we should add a warning in the import screen.

jochenklar avatar Apr 21 '22 11:04 jochenklar

It should be the first catalog that is used, I guess we should add a warning in the import screen.

can confirm that it is the first catalog (first according to the catalog order in the instance).

More importantly that first catalog is selected even when this catalog has the not available flag set.

jmfrenzel avatar Apr 21 '22 11:04 jmfrenzel

More importantly that first catalog is selected even when this catalog has the not available flag set.

Yeah, this is not optimal.

jochenklar avatar Apr 21 '22 11:04 jochenklar

Wouldn't it be better to outright reject the import if it uses an unknown catalog? My fear is that people assume some sort of "sane" behavior if the catalog used doesn't actually fit the questions answered, when IMO there is no "sane" behavior to handle this other than reject the import in the first place.

hardfalcon avatar Apr 21 '22 11:04 hardfalcon

I beg to differ, catalogs can be chnged in RDMO and sometimes you want to import a project into an instance which does not have this catalog. I think we just need to make the behavior more visible.

jochenklar avatar Apr 21 '22 11:04 jochenklar

Will be part of RDMO 2.2.0.

jochenklar avatar Jul 16 '24 08:07 jochenklar