Skip to content

FTS-1967: Prevent invalid values of tpc_support to be stored in the t_se table

Joao Pedro Lopes requested to merge fix_tpc_config into develop

This merge request fixes a bug that was introduced when https://its.cern.ch/jira/browse/FTS-1914 was implemented.

The REST interface inserted the word "test" on the t_se table if a configuration already existed for a given SE and the button "save" was pressed. This bug is fixed here and in addition a modification is made to never allow the submission of a "tpc_support" value which is not valid.

A test case to test the submission being refused if the "tpc_support" was invalid was also added.

Edited by Joao Pedro Lopes

Merge request reports