[jira] [Comment Edited] (OFBIZ-6084) Find account doesn't return accounts anymore

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Comment Edited] (OFBIZ-6084) Find account doesn't return accounts anymore

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-6084?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14332511#comment-14332511 ]

Deepak Dixit edited comment on OFBIZ-6084 at 2/23/15 4:42 AM:
--------------------------------------------------------------

Thanks Adrian,

type not set in forms.xml, Please refer FoundWorkEfforts form at component://workeffort/widget/WorkEffortForms.xml for reference.
As we have handling at ModelForm.java that if type is missing and parentForm exists then we are using the parentFrom.type.
Either we can use that condition in ModelSingleForm.java (that is unnecessary) or we can add empty check for type as well.

{code}
if (parentElement.getAttribute("name").equals(parentForm)
                            && (formType.isEmpty() || formType.equals(parentElement.getAttribute("type")))) {
{code}




was (Author: deepak.dixit):
Thanks Adrian,

type not set in forms.xml, Please refer FoundWorkEfforts form at component://workeffort/widget/WorkEffortForms.xml for reference.
As we have handling at ModelForm.java that if type is missing and parentForm exists then we are using the parentFrom.type.
Either we can use that condition in ModelSingleForm.java (that is unnecessary) or we can add empty check for type as well.

{code}
if (parentElement.getAttribute("name").equals(parentForm)
                            && (formType == null || formType.equals(parentElement.getAttribute("type")))) {
{code}



> Find account doesn't return accounts anymore
> --------------------------------------------
>
>                 Key: OFBIZ-6084
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-6084
>             Project: OFBiz
>          Issue Type: Bug
>          Components: marketing
>    Affects Versions: Trunk, 14.12.01
>            Reporter: Pierre Smits
>            Priority: Blocker
>              Labels: account, sfa
>         Attachments: OFBIZ-6084.patch
>
>
> Since after r13.07 searching for accounts in the SFA application no results are displayed anymore.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)