OFBiz
  1. OFBiz
  2. OFBIZ-4543

minilanguage does not remeber a variable type but uses the default string type

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Won't Fix
    • Affects Version/s: SVN trunk
    • Fix Version/s: None
    • Component/s: framework
    • Labels:
      None

      Description

      the following example code:

          <set field="actual" value="true" type="Boolean"/>
          <call-class-method method-name="getPaymentNotApplied" classname="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.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Adrian Crum
            Reporter:
            Hans Bakker
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development