You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Rajith Attapattu (JIRA)" <qp...@incubator.apache.org> on 2009/01/21 22:37:59 UTC

[jira] Created: (QPID-1608) getCurrent method in FailoverPolicy returns null even when a FailoverMethod is present

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

                 Key: QPID-1608
                 URL: https://issues.apache.org/jira/browse/QPID-1608
             Project: Qpid
          Issue Type: Bug
          Components: Java Client
    Affects Versions: M5
            Reporter: Rajith Attapattu
            Assignee: Rajith Attapattu
            Priority: Minor
             Fix For: M5


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)))


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] Commented: (QPID-1608) getCurrent method in FailoverPolicy returns null even when a FailoverMethod is present

Posted by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/QPID-1608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12670705#action_12670705 ] 

Martin Ritchie commented on QPID-1608:
--------------------------------------

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

> getCurrent method in FailoverPolicy returns null even when a FailoverMethod is present
> --------------------------------------------------------------------------------------
>
>                 Key: QPID-1608
>                 URL: https://issues.apache.org/jira/browse/QPID-1608
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client
>    Affects Versions: M5
>            Reporter: Rajith Attapattu
>            Assignee: Rajith Attapattu
>            Priority: Minor
>             Fix For: M5
>
>
> 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)))

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] Updated: (QPID-1608) getCurrent method in FailoverPolicy returns null even when a FailoverMethod is present

Posted by "Rajith Attapattu (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1608?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rajith Attapattu updated QPID-1608:
-----------------------------------

    Fix Version/s:     (was: 0.5)
                   0.6

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

> getCurrent method in FailoverPolicy returns null even when a FailoverMethod is present
> --------------------------------------------------------------------------------------
>
>                 Key: QPID-1608
>                 URL: https://issues.apache.org/jira/browse/QPID-1608
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client
>    Affects Versions: 0.5
>            Reporter: Rajith Attapattu
>            Assignee: Rajith Attapattu
>            Priority: Minor
>             Fix For: 0.6
>
>
> 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)))

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] Updated: (QPID-1608) getCurrent method in FailoverPolicy returns null even when a FailoverMethod is present

Posted by "Marnie McCormack (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1608?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marnie McCormack updated QPID-1608:
-----------------------------------

    Fix Version/s:     (was: 0.6)
                   0.7

Moving items unlikely to be completed for 0.6 out to 0.7

> getCurrent method in FailoverPolicy returns null even when a FailoverMethod is present
> --------------------------------------------------------------------------------------
>
>                 Key: QPID-1608
>                 URL: https://issues.apache.org/jira/browse/QPID-1608
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client
>    Affects Versions: 0.5
>            Reporter: Rajith Attapattu
>            Assignee: Rajith Attapattu
>            Priority: Minor
>             Fix For: 0.7
>
>
> 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)))

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org