|
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 |
|
Administrator
|
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" <[hidden email]> > 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 > |
|
In reply to this post by Chris Snow-3
Done in rev. 908948
Thanks, Jacopo On Feb 11, 2010, at 12:08 PM, Christopher Snow wrote: > 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 |
|
In reply to this post by Jacques Le Roux
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" <[hidden email]> >> 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 >> > > |
|
Administrator
|
Thanks David,
Yes that was it. I forgot about a specific change (not done by me) in a custom application There is always this error in OFBiz trunk OOTB when you want to delete a WorkEffortContent just added. I tried twice on the demo server and got this error twice. Sounds like it's not related but I will have a look in a local instance...later... Jacques From: "David E Jones" <[hidden email]> > 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" <[hidden email]> >>> 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 >>> >> >> > |
| Free forum by Nabble | Edit this page |
