stable

Clone or download

Read-only

request #8901: Call PATCH /milestones/:id/milestones instead of PUT

when adding a submilestones in planning view Test case (both in top backlog and milestone context): - Closed submilestones aren't loaded, add an open submilestone => It should be prepended to the submilestones list without loading closed ones - Closed submilestones aren't loaded, add a closed submilestone => Closed submilestones should be loaded and the create one prepended to the closed ones - Closed submilestones are already loaded, add a closed submilestone => Closed submilestones should not be reloaded and the create one prepended to the closed ones Change-Id: I1fe86694e80b8fc5a17a4f746ea5dbdedf45f3d3

Modified Files

Name
M plugins/agiledashboard/include/AgileDashboard/REST/v1/MilestoneResource.class.php +62 −0 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/app-planning-controller.js +15 −19 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/app-planning-controller.spec.js +9 −54 Go to diff View file
M plugins/agiledashboard/www/js/planning-v2/src/app/milestone/milestone-service.js +13 −0 Go to diff View file