Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-5806

Wicket.Log should log (at least errors) in the browser console even when Wicket Ajax Debug window is disabled

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 6.18.0
    • Fix Version/s: 7.0.0-M5, 6.19.0
    • Component/s: wicket
    • Labels:
      None

      Description

      When org.apache.wicket.settings.IDebugSettings#setAjaxDebugModeEnabled(false)wicket-ajax.js won't log any errors to the browser console because of the check at:
      https://github.com/apache/wicket/blob/8a3bd97825647301833751e906f441577e3fb3a5/wicket-core/src/main/java/org/apache/wicket/ajax/res/js/wicket-ajax-jquery.js#L231

      I think errors should be logged to the browser console if there is a window.console object no matter what is the value of the setting.

        Attachments

          Activity

            People

            • Assignee:
              mgrigorov Martin Tzvetanov Grigorov
              Reporter:
              mgrigorov Martin Tzvetanov Grigorov
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: