Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-2499

IfVoter returns always false if condition is false

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.0, 3.6.4, 3.6.5
    • 3.6.3
    • core
    • None

      IfVoter returns always false if condition is false.

      to solve:
      replace

      if(otherwise != null)

      { outcome = otherwise.vote(value); }
      outcome = 0 ;

      with

      if(otherwise != null){ outcome = otherwise.vote(value); }

      else

      { outcome = 0 ; }

        Acceptance criteria

              gjoseph Magnolia International
              ralf Ralf Hirning
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD