stable

Clone or download

Read-only

The description in route rest milestone/$id should not be purified

This is part of request #14877 Fix project milestones widget UI The description get from route rest milestone/$id was purified, so when it was displayed in Project Milestones, the description was not good. Now the description is the same as one get from artifact/$id How to test: - Have a release - Configure release's tracker to include description - Test with a description in HTML or Text format Expected results: - The description from milestone/$id is the same as that of artifact/$id - In Project Milestones, the description should be same in TV5. Change-Id: Ieda33aa6ca68e7c797d43e7f5a29e6e72b0afc13

Modified Files

Name
M plugins/agiledashboard/include/AgileDashboard/REST/v1/MilestoneRepresentation.class.php +9 −1 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/components/WhatsHotSection/ReleaseDescription/ReleaseDescription.vue +9 −3 Go to diff View file
M plugins/projectmilestones/scripts/projectmilestones/src/type.ts +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/ArtifactDescriptionProvider.php +23 −5 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_Artifact.class.php +6 −0 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_Artifact_ChangesetValue_Text.class.php +10 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Artifact/ArtifactDescriptionProviderTest.php +69 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Artifact/Tracker_Artifact_ChangesetValue_TextTest.php +28 −0 Go to diff View file