View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004272 | SymmetricDS | Bug | public | 2020-02-04 19:02 | 2020-02-14 17:44 |
Reporter | pmarzullo | Assigned To | pmarzullo | ||
Priority | normal | ||||
Status | closed | Resolution | fixed | ||
Product Version | 3.10.9 | ||||
Target Version | 3.10.10 | Fixed in Version | 3.10.10 | ||
Summary | 0004272: FormatUtils parseTimestampWithTimezone interprets fractional seconds incorrectly | ||||
Description | Bug in Java version 8: Parsing less than 9 digits in the fractional seconds when parsing timestamp with timezone assumes that the number is absolute instead of truncated. For example, 2020-02-04 11:59:17.524978 is interpreted as 2020-02-04 11:59:17.000524978, when it should be interpreted as 2020-02-04 11:59:17.524978000. This breaks conflict resolution when using USE_TIMESTAMP and NEWER_WINS. | ||||
Steps To Reproduce | 1. Cause conflict, using resolution type of USE_TIMESTAMP and NEWER_WINS, where the timestamp values are within the same second. 2. The fractional seconds with the most digits specified wins, even if the other timestamp is greater than the one with the most digits. | ||||
Tags | conflict manager | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2020-02-04 19:02 | pmarzullo | New Issue | |
2020-02-04 19:02 | pmarzullo | Status | new => assigned |
2020-02-04 19:02 | pmarzullo | Assigned To | => pmarzullo |
2020-02-04 19:02 | pmarzullo | Tag Attached: conflict manager | |
2020-02-04 19:10 | pmarzullo | Status | assigned => resolved |
2020-02-04 19:10 | pmarzullo | Resolution | open => fixed |
2020-02-04 19:10 | pmarzullo | Fixed in Version | => 3.10.10 |
2020-02-04 20:00 | Changeset attached | => SymmetricDS 3.10 946eeeb8 | |
2020-02-14 17:44 | elong | Status | resolved => closed |