You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/04/25 20:01:12 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=15256697#comment-15256697 ]
ASF subversion and git services commented on DISPATCH-293:
----------------------------------------------------------
Commit 9c4933ffbd4821e55b0dc870c254d55eecffea89 in qpid-dispatch's branch refs/heads/master from [~aconway]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-dispatch.git;h=9c4933f ]
DISPATCH-293: The $ character can't be used inside a prefix for linkRoute
The $ character was being used for "schema references" a feature that was not
much used and not very useful. It has been removed, $ is now treated as an
ordinary character.
> 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
>
> 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