Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-6291

Update code to check for types rather than throw ClassCastException

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 16.11.01, Trunk
    • 16.11.01
    • framework
    • None

    Description

      framework/minilang/src/org/ofbiz/minilang/method/conditional/Compare.java
      framework/base/src/org/ofbiz/base/util/ObjectType.java
      framework/minilang/src/org/ofbiz/minilang/MiniLangUtil.java

      all throw ClassCastExceptions and are ignored instead of checking types

      This caused issues in debugging when adding a ClassCastException breakpoint

      Attachments

        1. LocalizedConverters.patch
          2 kB
          Gareth Carter
        2. minilang_compare.patch
          9 kB
          Gareth Carter
        3. minilang_compare_r1675655.patch
          7 kB
          Gareth Carter

        Activity

          People

            adrianc@hlmksw.com Adrian Crum
            gareth.carter Gareth Carter
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: