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 (Created) (JIRA)" <ji...@apache.org> on 2012/01/26 05:05:40 UTC
[jira] [Created] (QPID-3783) When creating an Address using a
toString() of another address object, "None" is used as the subject when it
should be Null.
When creating an Address using a toString() of another address object, "None" is used as the subject when it should be Null.
----------------------------------------------------------------------------------------------------------------------------
Key: QPID-3783
URL: https://issues.apache.org/jira/browse/QPID-3783
Project: Qpid
Issue Type: Bug
Reporter: Rajith Attapattu
Assignee: Rajith Attapattu
Priority: Minor
When printing an address we use "None" to denote an empty subject.
Therefore we If create an address object using the toString() method of another address object, None is used as the subject.
The following code snippet illustrates the issue
{code}
Address addr = Address.parse("MY_QUEUE; {create : always}");
System.out.println("Addr1 : " + addr);
Address addr2 = Address.parse(addr.toString());
System.out.println("Addr2 : " + addr2);
{code}
The solution is to set the subject field to null if the subject is "None".
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org
[jira] [Updated] (QPID-3783) When creating an Address using a
toString() of another address object, "None" is used as the subject when it
should be Null.
Posted by "Rajith Attapattu (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/QPID-3783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rajith Attapattu updated QPID-3783:
-----------------------------------
Component/s: Java Client
Affects Version/s: 0.14
Fix Version/s: 0.15
> When creating an Address using a toString() of another address object, "None" is used as the subject when it should be Null.
> ----------------------------------------------------------------------------------------------------------------------------
>
> Key: QPID-3783
> URL: https://issues.apache.org/jira/browse/QPID-3783
> Project: Qpid
> Issue Type: Bug
> Components: Java Client
> Affects Versions: 0.14
> Reporter: Rajith Attapattu
> Assignee: Rajith Attapattu
> Priority: Minor
> Fix For: 0.15
>
>
> When printing an address we use "None" to denote an empty subject.
> Therefore we If create an address object using the toString() method of another address object, None is used as the subject.
> The following code snippet illustrates the issue
> {code}
> Address addr = Address.parse("MY_QUEUE; {create : always}");
> System.out.println("Addr1 : " + addr);
>
> Address addr2 = Address.parse(addr.toString());
> System.out.println("Addr2 : " + addr2);
> {code}
> The solution is to set the subject field to null if the subject is "None".
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org
[jira] [Resolved] (QPID-3783) When creating an Address using a
toString() of another address object, "None" is used as the subject when it
should be Null.
Posted by "Rajith Attapattu (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/QPID-3783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rajith Attapattu resolved QPID-3783.
------------------------------------
Resolution: Fixed
> When creating an Address using a toString() of another address object, "None" is used as the subject when it should be Null.
> ----------------------------------------------------------------------------------------------------------------------------
>
> Key: QPID-3783
> URL: https://issues.apache.org/jira/browse/QPID-3783
> Project: Qpid
> Issue Type: Bug
> Components: Java Client
> Affects Versions: 0.14
> Reporter: Rajith Attapattu
> Assignee: Rajith Attapattu
> Priority: Minor
> Labels: possibly_complete
> Fix For: 0.15
>
>
> When printing an address we use "None" to denote an empty subject.
> Therefore we If create an address object using the toString() method of another address object, None is used as the subject.
> The following code snippet illustrates the issue
> {code}
> Address addr = Address.parse("MY_QUEUE; {create : always}");
> System.out.println("Addr1 : " + addr);
>
> Address addr2 = Address.parse(addr.toString());
> System.out.println("Addr2 : " + addr2);
> {code}
> The solution is to set the subject field to null if the subject is "None".
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org
[jira] [Updated] (QPID-3783) When creating an Address using a
toString() of another address object, "None" is used as the subject when it
should be Null.
Posted by "Robbie Gemmell (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/QPID-3783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robbie Gemmell updated QPID-3783:
---------------------------------
Labels: possibly_complete (was: )
> When creating an Address using a toString() of another address object, "None" is used as the subject when it should be Null.
> ----------------------------------------------------------------------------------------------------------------------------
>
> Key: QPID-3783
> URL: https://issues.apache.org/jira/browse/QPID-3783
> Project: Qpid
> Issue Type: Bug
> Components: Java Client
> Affects Versions: 0.14
> Reporter: Rajith Attapattu
> Assignee: Rajith Attapattu
> Priority: Minor
> Labels: possibly_complete
> Fix For: 0.15
>
>
> When printing an address we use "None" to denote an empty subject.
> Therefore we If create an address object using the toString() method of another address object, None is used as the subject.
> The following code snippet illustrates the issue
> {code}
> Address addr = Address.parse("MY_QUEUE; {create : always}");
> System.out.println("Addr1 : " + addr);
>
> Address addr2 = Address.parse(addr.toString());
> System.out.println("Addr2 : " + addr2);
> {code}
> The solution is to set the subject field to null if the subject is "None".
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org