[
https://issues.apache.org/jira/browse/DISPATCH-226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15176271#comment-15176271
]
ASF GitHub Bot commented on DISPATCH-226:
-----------------------------------------
GitHub user ganeshmurthy opened a pull request:
https://github.com/apache/qpid-dispatch/pull/52
DISPATCH-226 - Added a __getattr__ function to entity.py so attribute…
…s like role can be accessed
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ganeshmurthy/qpid-dispatch DISPATCH-226-1
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/qpid-dispatch/pull/52.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #52
----
commit 0837ac1dd4e9550e77a06308965b19d5bbb34984
Author: Ganesh Murthy <[email protected]>
Date: 2016-03-02T19:06:59Z
DISPATCH-226 - Added a __getattr__ function to entity.py so attributes like
role can be accessed
----
> The default role is not applied when creating a connector
> ---------------------------------------------------------
>
> Key: DISPATCH-226
> URL: https://issues.apache.org/jira/browse/DISPATCH-226
> Project: Qpid Dispatch
> Issue Type: Bug
> Components: Management Agent
> Affects Versions: 0.5
> Reporter: Ernest Allen
> Assignee: Ganesh Murthy
>
> qdmanage CREATE -r QDR.A --type=connector --name=eaconn1 port=20021
> addr=0.0.0.0
> InternalServerErrorStatus: AttributeError: 'ConnectorEntity' object has no
> attribute 'role'
> Role is not marked as required in the schema, but if it is not supplied then
> an error is raised.
> The qdmanage CREATE request succeeds if role=normal is supplied.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]