ofbiz-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hans Bakker (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (OFBIZ-4543) minilanguage does not remeber a variable type but uses the default string type
Date Mon, 07 Nov 2011 09:33:51 GMT
minilanguage does not remeber a variable type but uses the default string type
------------------------------------------------------------------------------

                 Key: OFBIZ-4543
                 URL: https://issues.apache.org/jira/browse/OFBIZ-4543
             Project: OFBiz
          Issue Type: Improvement
          Components: framework
    Affects Versions: SVN trunk
            Reporter: Hans Bakker
            Priority: Minor


the following example code:

                        <set field="actual" value="true" type="Boolean"/>
                         <call-class-method method-name="getPaymentNotApplied" class-name="org.ofbiz.accounting.payment.PaymentWorker"
ret-field="notAppliedPayment">
                             <field field="payment" type="GenericValue"/>
-                            <field field="actual"/>
+                            <field field="actual" type="Boolean"/>
                         </call-class-method>

if this diff file is not applied the java class getPaymentNotApplied will not be found because
the minilanguage will use the 'string' type for the actual variable.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message