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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 6.18.0
    • 7.0.0-M5, 6.19.0
    • wicket
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment