You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2007/08/12 18:19:43 UTC
[jira] Commented: (OFBIZ-1180) Quote WorkEffort bug
[ https://issues.apache.org/jira/browse/OFBIZ-1180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12519318 ]
Jacques Le Roux commented on OFBIZ-1180:
----------------------------------------
Thanks Bilgin,
I agree that your patche fix the problem. I commited the seca part of your patch in trunk 565083 and release 565084
I'm currently working on a solution more general than the one you proposed but your patch might be applied temporarily if needed.
I want to add a target-type tag to the alt-target tag. But it's not as easy as I thought because alt-target is a list. I wonder also if I should have worked this on the other side of extends : keeping the target of the calling forms. I chose this way because it seemed more general to me.
> Quote WorkEffort bug
> --------------------
>
> Key: OFBIZ-1180
> URL: https://issues.apache.org/jira/browse/OFBIZ-1180
> Project: OFBiz
> Issue Type: Bug
> Components: order
> Affects Versions: SVN trunk
> Reporter: Bilgin Ibryam
> Assignee: Jacopo Cappellato
> Fix For: SVN trunk
>
> Attachments: quote_work_effort.patch
>
>
> Adding WorkEfforts to quotes is broken. The reason is that the form "AddQuoteWorkEffort" extends="EditWorkEffort".
> So even its target="createQuoteWorkEffort" it uses <alt-target target="createWorkEffort" use-when="workEffort==null"/> from the original form. I tried to use another alt-target but the form always use the original alt-target to createWorkEffort". Any idea how to override this alt-target ?
> For now i replaced in the controller the request from createQuoteWorkEffort to createWorkEffort.
> Another bug is in the ECA rule, the field name is misspelled. So right now everything works.
> Regards,
> Bilgin Ibyram
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.