You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Stanislav Svirid (JIRA)" <ji...@apache.org> on 2013/03/07 07:58:12 UTC

[jira] [Created] (CXF-4881) Wrong set custom trace function in cxf-utils.js

Stanislav Svirid created CXF-4881:
-------------------------------------

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


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