summaryrefslogtreecommitdiffstats
path: root/java/com/google/gerrit/sshd/SshUtil.java
diff options
context:
space:
mode:
authorLuca Milanesio <luca.milanesio@gmail.com>2024-05-28 14:36:18 +0100
committerLuca Milanesio <luca.milanesio@gmail.com>2024-05-28 18:13:37 +0000
commitde2ebbdc37b20cd78792c0ce25e0f2053c211842 (patch)
tree4786bf2528f82e7e360bdfe9dad717d7ef75d0d0 /java/com/google/gerrit/sshd/SshUtil.java
parenta5a51a94cc2df3a1cebcd9a98f4edd53c834adb9 (diff)
Do not ignore SubmitRecord status from Prolog rulesupstream/stable-3.6
When translating a SubmitRecord into a SubmitRequirement in Ie0fbf0e70, the status field was forgotten in the translation and ignored. A custom Prolog rule returning a status "OK" with extra labels was therefore considered as not satisifed requirement whilst it should have been passed them. When the overall SubmitRecord.status is OK, skip all the other labels that are not compatible with the SubmitRecord.status field. Restore the behaviour observed in Gerrit with custom Prolog rules in v3.5 or earlier versions. Bug: Issue 343218480 Release-Notes: Fix translation of custom Prolog rules SubmitRecord to SubmitRequirement(s) Change-Id: Ib0ac6c7638dece3d14261a3ac45c43825e7ecec8
Diffstat (limited to 'java/com/google/gerrit/sshd/SshUtil.java')
0 files changed, 0 insertions, 0 deletions