You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Christopher Snow <sn...@snowconsulting.co.uk> on 2010/02/11 12:08:37 UTC
deleteWorkEffort service does not remove related WorkEffortFixedAssetAssign
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
Re: deleteWorkEffort service does not remove related WorkEffortFixedAssetAssign
Posted by Jacopo Cappellato <ja...@hotwaxmedia.com>.
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
Re: deleteWorkEffort service does not remove related WorkEffortFixedAssetAssign
Posted by Jacques Le Roux <ja...@les7arts.com>.
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" <de...@me.com>
> 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" <sn...@snowconsulting.co.uk>
>>> 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
>>>
>>
>>
>
Re: deleteWorkEffort service does not remove related
WorkEffortFixedAssetAssign
Posted by David E Jones <de...@me.com>.
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" <sn...@snowconsulting.co.uk>
>> 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
>>
>
>
Re: deleteWorkEffort service does not remove related WorkEffortFixedAssetAssign
Posted by Jacques Le Roux <ja...@les7arts.com>.
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" <sn...@snowconsulting.co.uk>
> 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
>