Changes the default short descriptions of protocol/experiments to null
Makes configurable the default short descriptions of protocols/experiments
This does not automatically set all protocols and experiments previously created to the default settings. This can be accomplished by running the following sqls:
update protocol set short_description = null where short_description like '%created by generic data parser';
update experiment set short_description = null where short_description like '%created by generic data parser';
Related Issue
ACAS-725
How Has This Been Tested?
Verified in the GUI that the protocol and experiments both had empty descriptions by default
Verified in the database that the protocol and experiments both had empty descriptions by default
acas=> select short_description from protocol where short_description is null;
short_description
-------------------
(1 row)
acas=> select short_description from experiment where short_description is null;
short_description
-------------------
(1 row)
I then set the configs to the following to restore the default to their previous defaults:
server.sel.protocolDescription=${client.protocol.label} created by generic data parser
server.sel.experimentDescription=${client.experiment.label} created by generic data parser
Verified in the GUI that the protocol and experiments both had these values set properly on creation
Verified in the Database that the protocol and experiments both had these values set properly on creation (but didn't grab the text to post here)
Verified that the sql in the description would set the values to null correctly and that the GUI reflected those changes.
Description
Related Issue
ACAS-725
How Has This Been Tested?
I then set the configs to the following to restore the default to their previous defaults:
Verified in the GUI that the protocol and experiments both had these values set properly on creation
Verified in the Database that the protocol and experiments both had these values set properly on creation (but didn't grab the text to post here)
Verified that the sql in the description would set the values to null correctly and that the GUI reflected those changes.