Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-7520 Minilang code readability and consistency improvements
  3. OFBIZ-8445

OFBIZ-7520: Consistency and Readability improvements for if-compare tag

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 16.11.01
    • None
    • ALL COMPONENTS
    • None

    Description

      Code written in Minilang for the if-compare tag is not consistent throughout the application. The correct pattern to write is
      <if-compare field="containsEmptyFields" operator="equals" value="true"/>

      I found various other ways in which this tag is written, like

      <if-compare operator="equals" field="hasPermission" value="true" type="Boolean">

      <if-compare value="true" field="isDisbursement" operator="equals" type="Boolean">

      Attachments

        1. OFBIZ-8445.patch
          47 kB
          Devanshu Vyas

        Activity

          People

            diveshdut Divesh Dutta
            devanshu Devanshu Vyas
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: