Charles E. Rolke created DISPATCH-1737:
------------------------------------------

             Summary: 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


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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to