stable

Clone or download

Read-only

Avoid duplicate results when a team has more than one program

part of story #22675 replicate program increment changes to mirrored program increments How to test: Make sure your redis worker is running - Have a team with more than one program - Edit an existing Program Increment artifact and anything - you should see a log message in /var/log/tuleap/program_management_syslog: [debug] Mirror tracker ids: 70,71 The ids should not be duplicated (for example, no 70,70,70 line) The log message only exists for testing purposes, to show that we retrieve the mirrors. It will be removed on next commits. - No functional change for the planning of User stories in mirrored PIs. When you plan a Feature in a PI, its linked user stories should be planned in mirrored PIs. Notes: - The previous query did not also join on the "program" part of plugin_program_management_team_projects, which made it find as many rows of "mirrors" as there were parent programs. For 3 programs linked to 1 team, you would find 3 times the same Mirrored PI. Change-Id: Ib5206698c3868de6b94ecf12636bcbacf02bb53e

Modified Files

Name
M plugins/program_management/include/Adapter/Team/MirroredTimeboxes/MirroredTimeboxesDao.php +7 −8 Go to diff View file