| Summary: | PushJob - Unsupported changes between Orion 5 and Orion8 | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Oleg Tsentsiper <oleg.tsentsiper> |
| Component: | Git | Assignee: | Silenio Quarti <Silenio_Quarti> |
| Status: | RESOLVED WONTFIX | QA Contact: | |
| Severity: | critical | ||
| Priority: | P3 | CC: | steve_northover |
| Version: | 8.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
Is this currently broken in Orion 10? If not, we won't patch old versions of Orion. Please reopen if still broken in the latest. |
In Orion8 was changed check of pushToGerrit from branch.startsWith("refs/for/") to branch.startsWith("for/"). A branch name comming from the client must be looks like "for/master", but when going to check "updates" after "push" the condition "branch.equals(Repository.shortenRefName(rm))" is problematic, because the flow check an equals between "for/master" and "refs/for/master". As result GitConstants.KEY_UPDATES always empty in responce. Best regards.