You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Charles E. Rolke (Jira)" <ji...@apache.org> on 2020/08/04 19:02:00 UTC

[jira] [Resolved] (DISPATCH-1737) Policy config parse errors report wrong line and column numbers

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

Charles E. Rolke resolved DISPATCH-1737.
----------------------------------------
    Fix Version/s: 1.13.0
       Resolution: Fixed

Fixed at Commit 578164f

> Policy config parse errors report wrong line and column numbers 
> ----------------------------------------------------------------
>
>                 Key: DISPATCH-1737
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-1737
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Management Agent
>    Affects Versions: 1.12.0
>            Reporter: Charles E. Rolke
>            Assignee: Charles E. Rolke
>            Priority: Major
>             Fix For: 1.13.0
>
>
> Config files may be written in _router config_ format or _json_ format. Either way the file data is reorganized internally into _json_ format. After the data is reorganized then the original text formatting is lost. If there is a json parse error then the json errors showing line and column numbers are for the reformatted text and can not be correlated to the original input.
> This issue adds error logs in the event of a config parse error. The logs show the config data as it was presented to the json parser. Users may then see specifically where the config parsing failed with respect to their original input.
> This issue is different from DISPATCH-1707. Fixing this issue will aid in debugging and fixing that issue.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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