Duplicate deploy keys since 7.9 or 7.10
Created by: xperseguers
Since either 7.9 or 7.10 (can say exactly), deploy keys are shown duplicated. This happens only in UI, not in database.
- Given DK1, DK2 and DK3 and Projects P1, P2, P3, P4
- Assume DK1 => P1 and P2 and DK2 => P1, P2, P3 and DK3 => P1, P2, P4
- Open the settings of any projects, the corresponding DK are correctly shown, but in the list of available DK, you get:
- When opening P3: DK1, DK1, DK3, DK3, DK3
You see as many duplicates of available keys as the key is associated to projects (DK1 is associated to 2 projects and not P3, thus when showing P3 you see it twice, DK3 is associated to 3 projects but not P3 thus when showing P3 you see it three times).