Qpid
  1. Qpid
  2. QPID-1608

getCurrent method in FailoverPolicy returns null even when a FailoverMethod is present

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 0.5
    • Fix Version/s: 0.9
    • Component/s: Java Client
    • Labels:
      None

      Description

      The getCurrentMethod in FailoverPolicy returns null even when a FailoverMethod is present as the second half of the following condition evals to false
      if ((_currentMethod >= 0) && (_currentMethod < (_methods.length-1)))

        Activity

        Hide
        Martin Ritchie added a comment -

        How about adding a test to ensure this doesn't happen again?

        Show
        Martin Ritchie added a comment - How about adding a test to ensure this doesn't happen again?
        Hide
        Rajith Attapattu added a comment -

        Moved the fix version 0-6 from 0-5.

        Show
        Rajith Attapattu added a comment - Moved the fix version 0-6 from 0-5.
        Hide
        Marnie McCormack added a comment -

        Moving items unlikely to be completed for 0.6 out to 0.7

        Show
        Marnie McCormack added a comment - Moving items unlikely to be completed for 0.6 out to 0.7
        Hide
        Robbie Gemmell added a comment -

        Moving out to 0.9

        Show
        Robbie Gemmell added a comment - Moving out to 0.9
        Hide
        Rajith Attapattu added a comment -

        This has long been fixed.

        Show
        Rajith Attapattu added a comment - This has long been fixed.

          People

          • Assignee:
            Rajith Attapattu
            Reporter:
            Rajith Attapattu
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development