Status: To Do
Fix Version/s: None
Team:Data Access and Database
Config fields that can reference plugins need to write import statements for those plugins when writing themselves to disk. That seems to be failing in at least one case:
If lsst.obs.subaru is not imported explicitly at the top of ci_hsc's validate.py, the subaru_FilterFraction plugin will cause a read error when the measureCoaddSources_config dataset is retrieved via a Gen3 Butler. Direct inspection of the config file shows no import statement for lsst.obs.subaru.
This cannot be reproduced with a Gen2 Butler because that will always have imported lsst.obs.subaru for other reasons, hiding the problem. This same is true of Gen3 Butler prior to
DM-15503, where some unrelated refactoring first triggered this failure.