OFBiz
  1. OFBiz
  2. OFBIZ-4427

Possible runtime errors with UtilValidate.isEmpty(Object) should be rather caught during compilation

    Details

    • Type: Improvement Improvement
    • Status: Patch Available
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: Trunk
    • Fix Version/s: None
    • Component/s: framework
    • Sprint:
      Bug Crush Event - 21/2/2015

      Description

      Hence we need tp remove the UtilValidate.isEmpty(Object) method and provide methods that accept explicit types.

      Scripting languages should use a facade class that provides methods for working with generic Objects or providing default behaviors.

      1. OFBIZ-4427.patch
        1 kB
        Paul Foxworthy
      2. OFBIZ-4427_isEmpty.patch
        88 kB
        Paul Foxworthy

        Activity

        Jacques Le Roux created issue -
        Paul Foxworthy made changes -
        Field Original Value New Value
        Status Open [ 1 ] Patch Available [ 10002 ]
        Paul Foxworthy made changes -
        Attachment OFBIZ-4427.patch [ 12495060 ]
        Paul Foxworthy made changes -
        Attachment OFBIZ-4427_isEmpty.patch [ 12512561 ]
        Jacques Le Roux made changes -
        Assignee Jacques Le Roux [ jacques.le.roux ]
        Jacopo Cappellato made changes -
        Fix Version/s Trunk [ 12311928 ]
        Sharan Foga made changes -
        Sprint Bug Crush Event - 21/2/2015 [ 91 ]
        Sharan Foga made changes -
        Rank Ranked higher
        Sharan Foga made changes -
        Rank Ranked higher
        Sharan Foga made changes -
        Rank Ranked higher

          People

          • Assignee:
            Jacques Le Roux
            Reporter:
            Jacques Le Roux
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:

              Development

                Agile