Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.1 Final
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Bugzilla Id:
      30096

      Description

      the not() function is not working correctly with Boolean types, maybe it is not
      intended to do so (and Boolean manipulations should be handled with some
      external function library) but this could cause confusion so I prefered to
      report it.

      context.getVariables().declareVariable("TRUE", Boolean.TRUE);
      context.getVariables().declareVariable("FALSE", Boolean.FALSE);

      System.out.println(context.getValue("$TRUE")); // true
      System.out.println(context.getValue("$FALSE")); // false
      System.out.println(context.getValue("not($TRUE)")); // false
      System.out.println(context.getValue("not($FALSE)")); // false!!!

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              xdury@hotmail.com Xavier Dury
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: