From: SourceForge.net <no...@so...> - 2011-05-31 22:05:31
|
Bugs item #3309898, was opened at 2011-05-31 21:35 Message generated for change (Comment added) made by kymara You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101111&aid=3309898&group_id=1111 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 8 Private: No Submitted By: Katie Russell (kymara) >Assigned to: Katie Russell (kymara) Summary: Harold informed me of a negative time to collect item Initial Comment: I logged into the test server and got these messages: [21:33] postman tells you: Harold asked me to deliver this message on 2011-05-24 22:56: Your offer of a suit of dwarvish armor has expired. You have -2 weeks left to get the item back or prolong the offer. [21:33] postman tells you: Harold asked me to deliver this message on 2011-05-24 22:56: Your offer of a chaos sword has expired. You have -2 weeks left to get the item back or prolong the offer. [21:33] postman tells you: Harold asked me to deliver this message on 2011-05-25 18:55: Your offer of a golden cloak will expire in 3 days. [21:33] postman tells you: Harold asked me to deliver this message on 2011-05-26 04:54: Your offer of a golden cloak will expire in about 2 and a half days. [21:33] postman tells you: Harold asked me to deliver this message on 2011-05-27 04:53: Your offer of a golden cloak will expire in about 1 and a half days. [21:33] postman tells you: Harold asked me to deliver this message on 2011-05-28 04:54: Your offer of a golden cloak will expire in just under 14 hours. [21:33] postman tells you: Harold asked me to deliver this message on 2011-05-28 18:56: Your offer of a golden cloak has expired. You have -2 weeks left to get the item back or prolong the offer. ---------------------------------------------------------------------- >Comment By: Katie Russell (kymara) Date: 2011-05-31 23:05 Message: 23:32 < kymara> TimeUtil.approxTimeUntil((int) ((offer.getTimestamp() - System.currentTimeMillis() + 1000 * TIME_TO_REMOVING) / 1000)) 23:32 < kymara> i think there is integer oveflow 23:33 < kymara> 1000 * TIME_TO_REMOVING is now 3196800000 23:34 < kymara> i guess that already overflows and then is added to the rest? I have committed a fix, can we check the postman logs tomorrow and see if it is okay? Hard to test locally. (I did try with an rpzone dump but this did not work.) ---------------------------------------------------------------------- Comment By: Hendrik Brummermann (nhnb) Date: 2011-05-31 22:05 Message: Since 2011-05-07 all the log messages say exactly -2 weeks. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101111&aid=3309898&group_id=1111 |