stable

Clone or download

Read-only

disallow field deletion if field is used in background color semantic

this is part of story #11542 Update tracker "color picker" to have beautiful colors to associate with select box values How to test: Go on card semantic, select a field for background color Go on tracker field usgae, try to remove the field assigned to the semantic background color : => you should not be able to do it Change-Id: I1a986823c9377158e997f0311f69f8cab9a6fece

Modified Files

Name
M plugins/cardwall/include/Semantic/BackgroundColorDao.php +7 −0 Go to diff View file
M plugins/cardwall/include/Semantic/CardFields.class.php +11 −10 Go to diff View file
A plugins/cardwall/include/Semantic/FieldUsedInSemanticObjectChecker.php +69 −0 Go to diff View file
M plugins/cardwall/include/autoload.php +4 −3 Go to diff View file
A plugins/cardwall/phpunit/carwall/Semantic/FieldUsedInSemanticObjectCheckerTest.php +92 −0 Go to diff View file