[jira] [Closed] (OFBIZ-7030) Agreement Search List requires partyIdFrom/partyIdTo or fails

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

[jira] [Closed] (OFBIZ-7030) Agreement Search List requires partyIdFrom/partyIdTo or fails

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-7030?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux closed OFBIZ-7030.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 15.12.01
                   14.12.01

Thanks Ingo,

Your patch is in
trunk r1741925  
R15.12 r1741926
R14.12 r1741927
R13.07 conflict

Mmm, wait this seems to work indeed but we have a problem here.

Though I noticed it initially, after committing I remembered that you used tabs instead of spaces. so I went to fix it in Eclipse and then saw that if-not-empty is not part of widgets, only minilang.

So it works because of an error. We get this in log:
{noformat}
2016-05-02 09:34:02,185 |http-nio-8443-exec-5 |UtilXml                       |E| XmlFileLoader: File file:/C:/projectASF-Mars/ofbiz/applications/accounting/widget/AgreementForms.xml process error. Line: 64. E
rror message: cvc-complex-type.2.4.a: Invalid content was found starting with element 'if-not-empty'. One of '{row-actions, alt-row-style, alt-target, auto-fields-service, auto-fields-entity, field, on-event-
update-area, sort-order}' is expected.
{noformat}

It does not seem foolish to add if-not-empty in widget, I will see that now...



> Agreement Search List requires partyIdFrom/partyIdTo or fails
> -------------------------------------------------------------
>
>                 Key: OFBIZ-7030
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-7030
>             Project: OFBiz
>          Issue Type: Bug
>          Components: accounting
>    Affects Versions: Trunk
>            Reporter: Ingo Wolfmayr
>            Priority: Trivial
>             Fix For: 14.12.01, 15.12.01
>
>         Attachments: AgreementForms.xml.patch
>
>




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