stable

Clone or download

Read-only

[feature] request #22695 Always duplicate timeframe semantic when based on fields

Given a tracker we want to duplicate from another project, if its timeframe semantic is configured and based on fields (start date + end date or duration), then this semantic must be duplicated. Change-Id: I2f4783f1598ef0d7754c965e080c8f6d41b10653

Modified Files

Name
M plugins/tracker/include/Tracker/Creation/TrackerCreator.php +6 −0 Go to diff View file
M plugins/tracker/include/Tracker/Semantic/Timeframe/SemanticTimeframeDuplicator.php +57 −16 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/TrackerCreatorTest.php +2 −1 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Semantic/Timeframe/SemanticTimeframeDuplicatorTest.php +50 −0 Go to diff View file