stable

Clone or download

Read-only

Prevent deletion of links fields when semantic is used

part of: story #21362 Base artifact timeframe on a linked artifact How to test: - When the semantic is based on another tracker --> The artifact link field in the current tracker can't be deleted --> The artifact link field in the target tracker can't be deleted Change-Id: Id15cd3f86451952c50c4a0581fd04ee2ddf90eb4

Modified Files

Name
M plugins/cardwall/include/Semantic/CardFields.class.php +1 −1 Go to diff View file
M plugins/cardwall/site-content/fr_FR/LC_MESSAGES/tuleap-cardwall.po +3 −3 Go to diff View file
M plugins/tracker/db/install.sql +2 −1 Go to diff View file
A plugins/tracker/db/mysql/updates/2021/202106071500_add_index_on_tracker_semantic_timeframe_implied_from_tracker_id.php +46 −0 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field.php +8 −15 Go to diff View file
A plugins/tracker/include/Tracker/Semantic/CollectionOfSemanticsUsingAParticularTrackerField.php +99 −0 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Timeframe/SemanticTimeframeBuilder.php +1 −0 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Timeframe/SemanticTimeframeDao.php +13 −0 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Timeframe/TimeframeImpliedFromAnotherTracker.php +12 −1 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Tracker_SemanticManager.class.php +39 −20 Go to diff View file
M plugins/tracker/site-content/fr_FR/LC_MESSAGES/tuleap-tracker.po +15 −2 Go to diff View file
A plugins/tracker/tests/unit/Tracker/Semantic/CollectionOfSemanticsUsingAParticularTrackerFieldTest.php +99 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Semantic/Timeframe/SemanticTimeframeBuilderTest.php +5 −1 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Semantic/Timeframe/TimeframeImpliedFromAnotherTrackerTest.php +40 −4 Go to diff View file