[
https://issues.apache.org/jira/browse/CXF-4881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13596048#comment-13596048
]
Daniel Kulp commented on CXF-4881:
----------------------------------
If I change the code to that, then none of the tracing in our test suite works.
Thus, I'm not so sure. For me, a call to:
{code}
org_apache_cxf_trace.trace(typeof(org_apache_cxf_trace));
{code}
prints out "function".
> Wrong set custom trace function in cxf-utils.js
> -----------------------------------------------
>
> Key: CXF-4881
> URL: https://issues.apache.org/jira/browse/CXF-4881
> Project: CXF
> Issue Type: Bug
> Components: Dynamic Languages, JavaScript Client
> Affects Versions: 2.7.3
> Reporter: Stanislav Svirid
> Labels: javascript
>
> In function CxfApacheOrgUtil custom trace function installed like:
> {code:javascript}
> this.trace = org_apache_cxf_trace.trace;
> {code}
> But _org_apache_cxf_trace_ checked for "function" type, not object.
> And default null_trace function is simple function too.
> A think correct code is look like this:
> {code:javascript}
> this.trace = org_apache_cxf_trace;
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira