You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Alan Conway (JIRA)" <ji...@apache.org> on 2016/04/25 20:28:12 UTC

[jira] [Resolved] (DISPATCH-293) The $ character can't be used inside a prefix for linkRoute

     [ https://issues.apache.org/jira/browse/DISPATCH-293?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alan Conway resolved DISPATCH-293.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 0.6

> The $ character can't be used inside a prefix for linkRoute
> -----------------------------------------------------------
>
>                 Key: DISPATCH-293
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-293
>             Project: Qpid Dispatch
>          Issue Type: Bug
>    Affects Versions: 0.6
>            Reporter: Paolo Patierno
>            Assignee: Alan Conway
>             Fix For: 0.6
>
>
> Using a prefix like "$cbs" inside a linkRoute throws the following error at router startup :
> Mon Apr 25 15:09:24 2016 ERROR (error) Python: Exception: Cannot load configuration file /opt/config/ex06_iothub_my.conf: org.apache.qpid.dispatch.router.config.linkRoute: Invalid attribute reference '$cbs/'
> Mon Apr 25 15:09:24 2016 ERROR (error) Traceback (most recent call last):
>   File "/usr/lib/qpid-dispatch/python/qpid_dispatch_internal/management/config.py", line 146, in configure_dispatch
>     config = Config(filename)
>   File "/usr/lib/qpid-dispatch/python/qpid_dispatch_internal/management/config.py", line 41, in __init__
>     self.load(filename, raw_json)
>   File "/usr/lib/qpid-dispatch/python/qpid_dispatch_internal/management/config.py", line 121, in load
>     self.load(f, raw_json)
>   File "/usr/lib/qpid-dispatch/python/qpid_dispatch_internal/management/config.py", line 130, in load
>     self.schema.validate_all(entities)
>   File "/usr/lib/qpid-dispatch/python/qpid_dispatch_internal/management/schema.py", line 616, in validate_all
>     check_singleton=check_singleton)
>   File "/usr/lib/qpid-dispatch/python/qpid_dispatch_internal/management/schema.py", line 593, in validate_entity
>     check_singleton=check_singleton)
>   File "/usr/lib/qpid-dispatch/python/qpid_dispatch_internal/management/schema.py", line 453, in validate
>     value, lambda v: self.resolve(v, attributes), **kwargs)
>   File "/usr/lib/qpid-dispatch/python/qpid_dispatch_internal/management/schema.py", line 260, in validate
>     value = resolve(value)
>   File "/usr/lib/qpid-dispatch/python/qpid_dispatch_internal/management/schema.py", line 453, in <lambda>
>     value, lambda v: self.resolve(v, attributes), **kwargs)
>   File "/usr/lib/qpid-dispatch/python/qpid_dispatch_internal/management/schema.py", line 406, in resolve
>     raise ValidationError("Invalid attribute reference '%s'"%value)
> Exception: Cannot load configuration file /opt/config/ex06_iothub_my.conf: org.apache.qpid.dispatch.router.config.linkRoute: Invalid attribute reference '$cbs/'



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org