You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Carlos Medina (JIRA)" <qp...@incubator.apache.org> on 2007/05/11 08:54:15 UTC
[jira] Created: (QPID-487) The QpidConnectionInfo.ToString() method
returns a wrong value
The QpidConnectionInfo.ToString() method returns a wrong value
--------------------------------------------------------------
Key: QPID-487
URL: https://issues.apache.org/jira/browse/QPID-487
Project: Qpid
Issue Type: Bug
Components: Dot Net Client
Affects Versions: M2
Reporter: Carlos Medina
Priority: Minor
Fix For: M2
When the QpidConnectionInfo.ToString() method is invoked, a wrong value is returned... This is because the actual code (see below) doesn't print information related with the original url like UserName, Password, ClientId, HostName, and options.
===========
Actual code....
public override string ToString()
{
return AsUrl();
}
public string AsUrl()
{
string result = "amqp://";
foreach (IBrokerInfo info in _brokerInfos)
{
result += info.ToString();
}
return result;
}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (QPID-487) The QpidConnectionInfo.ToString() method
returns a wrong value
Posted by "Carlos Medina (JIRA)" <qp...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/QPID-487?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carlos Medina updated QPID-487:
-------------------------------
Attachment: QPID-487.diff
This files implements the QpidConnectionInfo.AsUrl() and AmqBrokerInfo.ToString() methods with its respectives test...
NOTE, because the QPID-485 bug haven't fixed yet, this .diff file contains the information about it...
> The QpidConnectionInfo.ToString() method returns a wrong value
> --------------------------------------------------------------
>
> Key: QPID-487
> URL: https://issues.apache.org/jira/browse/QPID-487
> Project: Qpid
> Issue Type: Bug
> Components: Dot Net Client
> Affects Versions: M2
> Reporter: Carlos Medina
> Priority: Minor
> Fix For: M2
>
> Attachments: QPID-487.diff
>
>
> When the QpidConnectionInfo.ToString() method is invoked, a wrong value is returned... This is because the actual code (see below) doesn't print information related with the original url like UserName, Password, ClientId, HostName, and options.
> ===========
> Actual code....
> public override string ToString()
> {
> return AsUrl();
> }
> public string AsUrl()
> {
> string result = "amqp://";
> foreach (IBrokerInfo info in _brokerInfos)
> {
> result += info.ToString();
> }
> return result;
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (QPID-487) The QpidConnectionInfo.ToString()
method returns a wrong value
Posted by "Tomas Restrepo (JIRA)" <qp...@incubator.apache.org>.
[ https://issues.apache.org/jira/browse/QPID-487?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tomas Restrepo resolved QPID-487.
---------------------------------
Resolution: Fixed
Resolved in revision 537954
> The QpidConnectionInfo.ToString() method returns a wrong value
> --------------------------------------------------------------
>
> Key: QPID-487
> URL: https://issues.apache.org/jira/browse/QPID-487
> Project: Qpid
> Issue Type: Bug
> Components: Dot Net Client
> Affects Versions: M2
> Reporter: Carlos Medina
> Priority: Minor
> Fix For: M2
>
> Attachments: QPID-487.diff
>
>
> When the QpidConnectionInfo.ToString() method is invoked, a wrong value is returned... This is because the actual code (see below) doesn't print information related with the original url like UserName, Password, ClientId, HostName, and options.
> ===========
> Actual code....
> public override string ToString()
> {
> return AsUrl();
> }
> public string AsUrl()
> {
> string result = "amqp://";
> foreach (IBrokerInfo info in _brokerInfos)
> {
> result += info.ToString();
> }
> return result;
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.