diff options
author | Florian Zschocke <f.zschocke+git@gmail.com> | 2022-12-07 20:33:38 +0100 |
---|---|---|
committer | Florian Zschocke <f.zschocke+git@gmail.com> | 2022-12-07 20:33:38 +0100 |
commit | 4baed92559bc38f421fb8ea3dd6e177db886d780 (patch) | |
tree | c7424c477bcffbecbff46ee33ceb24b3a0831efb /src/main/java/com/gitblit/models/TicketModel.java | |
parent | 60a0434ac329af040ba11ec7dedafe581a9b588e (diff) | |
download | gitblit-4baed92559bc38f421fb8ea3dd6e177db886d780.tar.gz gitblit-4baed92559bc38f421fb8ea3dd6e177db886d780.zip |
fix: Fix broken pushes to tickets
The update of JGit broke pushes to tickets. The ReceiveCommand now
requires all three arguments, oldId, newId and name, to be not null.
The ticket code handling pushes to tickets left name and old id as
null in certain cases. This is fixed by always providing values.
Diffstat (limited to 'src/main/java/com/gitblit/models/TicketModel.java')
-rw-r--r-- | src/main/java/com/gitblit/models/TicketModel.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/com/gitblit/models/TicketModel.java b/src/main/java/com/gitblit/models/TicketModel.java index 65e29dc0..a60cdc44 100644 --- a/src/main/java/com/gitblit/models/TicketModel.java +++ b/src/main/java/com/gitblit/models/TicketModel.java @@ -1163,6 +1163,7 @@ public class TicketModel implements Serializable, Comparable<TicketModel> { private static final long serialVersionUID = 1L; + public long ticketId; public int number; public int rev; public String tip; |