stable

Clone or download

Read-only

request #13432: Tracker color are not properly imported, if tracker structure has a legacy color

The tracker color is now handled through a value object preventing the usage of unknown color name. Change-Id: Ia49609f131235f3a54beaa2f1b5a930ad72036d9

Modified Files

Name
M plugins/agiledashboard/include/AgileDashboard/BacklogItemPresenter.class.php +1 −1 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/Milestone/Backlog/BacklogItem.class.php +1 −1 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/Kanban/KanbanItemRepresentation.php +2 −2 Go to diff View file
M plugins/agiledashboard/tests/include/AgileDashboard/FormElement/BurnupCacheCheckerTest.php +15 −12 Go to diff View file
M plugins/agiledashboard/tests/include/AgileDashboard/Milestone/Backlog/AgileDashboard_Milestone_Backlog_BacklogItemCollectionFactoryTest.php +11 −4 Go to diff View file
M plugins/cardwall/include/Semantic/SingleCardPreviewDetailsBuilder.php +2 −2 Go to diff View file
M plugins/cardwall/tests/PaneBoardBuilderTest.php +2 −2 Go to diff View file
M plugins/crosstracker/include/CrossTracker/REST/v1/CrossTrackerArtifactReportRepresentation.php +2 −2 Go to diff View file
M plugins/timetracking/include/Timetracking/REST/v1/MinimalArtifactRepresentation.php +3 −3 Go to diff View file
M plugins/timetracking/phpunit/Time/TimetrackingOverviewRepresentationsBuilderTest.php +4 −2 Go to diff View file
M plugins/tracker/db/install.sql +1 −1 Go to diff View file
A plugins/tracker/db/mysql/updates/2019/201906191100_convert_tracker_colors_to_standardized_names.php +78 −0 Go to diff View file
M plugins/tracker/include/REST/CompleteTrackerRepresentation.class.php +4 −3 Go to diff View file
M plugins/tracker/include/REST/MinimalTrackerRepresentation.php +2 −2 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/ActionButtons/ArtifactMoveModalPresenter.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/LatestHeartbeatsCollector.php +2 −2 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/RecentlyVisited/VisitRetriever.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_Artifact.class.php +2 −2 Go to diff View file
M plugins/tracker/include/Tracker/ColorPresenterCollection.class.php +9 −39 Go to diff View file
M plugins/tracker/include/Tracker/GeneralSettings_Presenter.class.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/NullTracker.class.php +4 −2 Go to diff View file
M plugins/tracker/include/Tracker/Tracker.class.php +32 −32 Go to diff View file
A plugins/tracker/include/Tracker/TrackerColor.php +131 −0 Go to diff View file
M plugins/tracker/include/Tracker/TrackerFactory.class.php +3 −2 Go to diff View file
M plugins/tracker/include/Tracker/TrackerManager.class.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/dao/TrackerDao.class.php +1 −1 Go to diff View file
M plugins/tracker/include/TrackerXmlImport.class.php +10 −1 Go to diff View file
M plugins/tracker/phpunit/REST/Artifact/ArtifactRepresentationBuilderTest.php +5 −4 Go to diff View file
A plugins/tracker/phpunit/Tracker/TrackerColorTest.php +64 −0 Go to diff View file
M plugins/tracker/site-content/fr_FR/LC_MESSAGES/tuleap-tracker.po +5 −2 Go to diff View file
M plugins/tracker/tests/Artifact/RecentlyVisited/VisitRetrieverTest.php +4 −1 Go to diff View file
M plugins/tracker/tests/TrackerFactoryTest.php +4 −1 Go to diff View file
M plugins/tracker/tests/TrackerTest.php +6 −4 Go to diff View file
M plugins/tracker/tests/TrackerXmlImportTest.php +1 −1 Go to diff View file
M plugins/tracker/tests/_fixtures/TestTracker-1.xml +1 −1 Go to diff View file
M plugins/tracker/tests/builders/aMockArtifact.php +20 −19 Go to diff View file
M plugins/tracker/tests/builders/aTracker.php +4 −2 Go to diff View file
M plugins/tracker/www/resources/tracker-definition.rnc +42 −1 Go to diff View file
M plugins/tracker/www/resources/tracker-definition.rng +42 −1 Go to diff View file
M src/common/xml/resources/project/tracker-definition.rng +42 −1 Go to diff View file