This repository was archived by the owner on Apr 14, 2021. It is now read-only.

Description
Describe the bug
Registering a processing block whose workflow has not been defined still results in a SBI in the configuration database with no PBs attached. This seems to be because the PB is rejected when the workflow is undefined but at that point the SBI has already been added to the DB.
To Reproduce
List steps to reproduce the behavior:
1a. Configure a SBI using the Tango Master Controller containing a PB with a workflow which is not currently registered.
1b. (not tested) use the CLI method skasip_config_db_add_sbi with a SBI with a PB where the workflow has not been registered
3. An error is reported but the SBI is entered into the DB.
Expected behavior
A clear error message should be reported and nothing should be entered into the DB so that the SBI can resubmitted.
Context
This was found running the SIP november 2018 demos.