View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002302 | SymmetricDS | Bug | public | 2015-05-19 15:52 | 2015-05-28 11:58 |
Reporter | ghosh11@avaya.com | Assigned To | chenson | ||
Priority | high | ||||
Status | closed | Resolution | fixed | ||
Product Version | 3.4.9 | ||||
Target Version | 3.7.18 | Fixed in Version | 3.7.18 | ||
Summary | 0002302: AckUriHandler has an incorrect Comparator code | ||||
Description | AckUriHandler uses a comparator to sort the batch IDs in an ACK message in the ascending order. However, the comparator code uses the same BatchAck object to retrieve both batch IDs for comparison. This affects all versions of Symmetric. The code below is from the trunk: http://svn.code.sf.net/p/symmetricds/code/trunk/symmetric-server/src/main/java/org/jumpmind/symmetric/web/AckUriHandler.java private static class BatchIdComparator implements Comparator<BatchInfo> { public int compare(BatchInfo batchInfo1, BatchInfo batchInfo2) { Long batchId1 = batchInfo1.getBatchId(); Long batchId2 = batchInfo1.getBatchId(); return batchId1.compareTo(batchId2); } } | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2015-05-19 15:52 | ghosh11@avaya.com | New Issue | |
2015-05-19 16:27 | chenson | Target Version | => 3.7.18 |
2015-05-19 16:27 | chenson | Status | new => resolved |
2015-05-19 16:27 | chenson | Fixed in Version | => 3.7.18 |
2015-05-19 16:27 | chenson | Resolution | open => fixed |
2015-05-19 16:27 | chenson | Assigned To | => chenson |
2015-05-19 17:00 | chenson | Changeset attached | => SymmetricDS trunk r9482 |
2015-05-28 11:58 | chenson | Status | resolved => closed |
2015-07-31 01:49 | chenson | Changeset attached | => SymmetricDS master d1b0f1a4 |