stable

Clone or download

Read-only

Prevent field deletion if used in Timeframe

Hack database and defined start date and duration as part of timeframe semantic in tracker_semantic_timeframe. You should not be able to unused fields since they are now used by a semantic (same behavior than other semantics). Please note that starting from now, as soon as timeframe is defined for the tracker (both start date and duration field are used), then the semantic is displayed among other semantics with basic information. - It is not displayed to users since they cannot hack the database to manually defined the semantic - Its edit link (pencil icon) leads to an exception. It is intended, since administration of the semantic will come later, and, again, it is not displayed if you didn't hack the database - It has no incidence on REST or XML export of the tracker - Text copy needs to be improved Those points will be managed later in dedicated commits. Part of story #12537: configure my burndown/up & sprint with a start date & end date Change-Id: Ibe8336d56a0fa7d26c4ab80c9e64782bb52453ae

Modified Files

Name
M plugins/agiledashboard/include/AgileDashboard/Semantic/SemanticDone.php +1 −1 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/Semantic/Semantic_InitialEffort.class.php +1 −1 Go to diff View file
M plugins/cardwall/include/Semantic/CardFields.class.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Timeframe/SemanticTimeframe.php +30 −6 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Timeframe/SemanticTimeframeBuilder.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Tracker_Semantic.class.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Tracker_SemanticManager.class.php +16 −2 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Tracker_Semantic_Contributor.class.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Tracker_Semantic_Description.class.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Tracker_Semantic_Status.class.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Tracker_Semantic_Title.class.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/Tooltip/Tracker_Tooltip.class.php +1 −1 Go to diff View file
M plugins/tracker/phpunit/Tracker/Semantic/Timeframe/SemanticTimeframeTest.php +41 −2 Go to diff View file
M plugins/tracker/site-content/fr_FR/LC_MESSAGES/tuleap-tracker.po +10 −0 Go to diff View file
M plugins/velocity/include/Velocity/Semantic/SemanticVelocity.php +8 −8 Go to diff View file