You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Robert Greig (JIRA)" <qp...@incubator.apache.org> on 2006/12/13 15:01:27 UTC

[jira] Created: (QPID-179) TextMessage needs to be able to distinguish between a null payload and an empty string

TextMessage needs to be able to distinguish between a null payload and an empty string
--------------------------------------------------------------------------------------

                 Key: QPID-179
                 URL: http://issues.apache.org/jira/browse/QPID-179
             Project: Qpid
          Issue Type: Bug
          Components: JMS Compliance
    Affects Versions: M1
            Reporter: Robert Greig
         Assigned To: Robert Greig


Currently we return an empty string even if the  payload of the text message was set to be an empty string.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Re: [jira] Created: (QPID-179) TextMessage needs to be able to distinguish between a null payload and an empty string

Posted by Steven Shaw <st...@gmail.com>.
On 13/12/06, Robert Greig (JIRA) <qp...@incubator.apache.org> wrote:
> Currently we return an empty string even if the  payload of the text message was set to be
> an empty string.

We probably return empty string when the payload is set to null.

[jira] Updated: (QPID-179) TextMessage needs to be able to distinguish between a null payload and an empty string

Posted by "Rob Godfrey (JIRA)" <qp...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/QPID-179?page=all ]

Rob Godfrey updated QPID-179:
-----------------------------

    Attachment: QPID-179-2.patch

Patch for common PropertyFieldTable.java

> TextMessage needs to be able to distinguish between a null payload and an empty string
> --------------------------------------------------------------------------------------
>
>                 Key: QPID-179
>                 URL: http://issues.apache.org/jira/browse/QPID-179
>             Project: Qpid
>          Issue Type: Bug
>          Components: JMS Compliance
>    Affects Versions: M1
>            Reporter: Robert Greig
>         Assigned To: Robert Greig
>             Fix For: M2
>
>         Attachments: QPID-179-2.patch, QPID-179.patch
>
>
> Currently we return an empty string even if the  payload of the text message was set to be an empty string.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Resolved: (QPID-179) TextMessage needs to be able to distinguish between a null payload and an empty string

Posted by "Robert Greig (JIRA)" <qp...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/QPID-179?page=all ]

Robert Greig resolved QPID-179.
-------------------------------

    Fix Version/s: M2
       Resolution: Fixed

Commit svn rev 486783

> TextMessage needs to be able to distinguish between a null payload and an empty string
> --------------------------------------------------------------------------------------
>
>                 Key: QPID-179
>                 URL: http://issues.apache.org/jira/browse/QPID-179
>             Project: Qpid
>          Issue Type: Bug
>          Components: JMS Compliance
>    Affects Versions: M1
>            Reporter: Robert Greig
>         Assigned To: Robert Greig
>             Fix For: M2
>
>         Attachments: QPID-179.patch
>
>
> Currently we return an empty string even if the  payload of the text message was set to be an empty string.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (QPID-179) TextMessage needs to be able to distinguish between a null payload and an empty string

Posted by "Rob Godfrey (JIRA)" <qp...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/QPID-179?page=all ]

Rob Godfrey updated QPID-179:
-----------------------------

    Attachment: QPID-179-2.patch

Patch to common PropertyFieldTable.java

> TextMessage needs to be able to distinguish between a null payload and an empty string
> --------------------------------------------------------------------------------------
>
>                 Key: QPID-179
>                 URL: http://issues.apache.org/jira/browse/QPID-179
>             Project: Qpid
>          Issue Type: Bug
>          Components: JMS Compliance
>    Affects Versions: M1
>            Reporter: Robert Greig
>         Assigned To: Robert Greig
>             Fix For: M2
>
>         Attachments: QPID-179-2.patch, QPID-179-2.patch, QPID-179.patch
>
>
> Currently we return an empty string even if the  payload of the text message was set to be an empty string.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (QPID-179) TextMessage needs to be able to distinguish between a null payload and an empty string

Posted by "Rob Godfrey (JIRA)" <qp...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/QPID-179?page=all ]

Rob Godfrey updated QPID-179:
-----------------------------

    Attachment: QPID-179.patch

Attached patch allows client to distinguish between zero length string Textmessages and null messages.  This is achieved through a "vendor specific" property.


> TextMessage needs to be able to distinguish between a null payload and an empty string
> --------------------------------------------------------------------------------------
>
>                 Key: QPID-179
>                 URL: http://issues.apache.org/jira/browse/QPID-179
>             Project: Qpid
>          Issue Type: Bug
>          Components: JMS Compliance
>    Affects Versions: M1
>            Reporter: Robert Greig
>         Assigned To: Robert Greig
>         Attachments: QPID-179.patch
>
>
> Currently we return an empty string even if the  payload of the text message was set to be an empty string.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira