Jacques, The time may simply be showing that way because of your timezone setting.
-David On Feb 11, 2010, at 6:35 AM, Jacques Le Roux wrote: > Hi Chris, All, > > I'm currently working on a bug I found while willing to remove a > WorkEffortContent. There is an error related to dates. It's weird > because when you display the dates of the WorkEffortContent (any of them) > you get wrong numbers for the hours (not the same than > in DB). This is not only true for WorkEffortContent but also ContentRole > > For instance for > ContentRole.fromDate is displayed 2010-02-10 11:42:51.296 but the real value > is 2010-02-10 20:42:51.296, > same for Content.CreatedDate 2010-02-10 11:42:51.265 instead of 2010-02-10 > 20:42:51.265 > WorkEffortContent.fromDate 2010-02-10 11:42:51.406 instead of 2010-02-10 > 20:42:51.406 > > So it looks like, in this case, 9 is substracted from the real value when > displaying. I have to work on other prioritie but I should > get back to this today. Intuitively, it looks like a modulo error somewhere, > but not quite sure... > > To see the symptom, try to create a Content for a WorkEffort on demo server > and to remove it just after, you will get a "In > remove-value a value was not found with the specified valueAcsr: > lookedUpValue, not removing" this is because the dates are wrong > somewhere in the middle... > > More to the point, I'm not quite sure, but should not be WorkEffortContent > also removed in this service? This may imply to remove > also ContentRole if the WorkEffort is assigned... > > Sorry for the long post but I had to share this pain :o) > > Jacques > > From: "Christopher Snow" <[email protected]> >> It looks like this bug doesn't affect any other functionality >> (manufacturing, project management, etc) - >> https://issues.apache.org/jira/browse/OFBIZ-3454 >> >> Is anyone interested in committing it for me? >> >> Many thanks, >> >> Chris >> > >
