Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-14669

Do not log errors when having links pointing to non-existing wikis

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 13.4-rc-1, 12.10.9
    • 8.4
    • Old Core
    • None
    • Unit
    • Unknown
    • N/A
    • N/A

    Description

      If you import some pages having links pointing to subwikis that don't exist in your instance you get ERROR in the logs. For example:

      2017-09-04 16:10:36,526 [http://localhost:8080/xwiki/wiki/platform/view/DevGuide/] WARN  o.h.u.JDBCExceptionReporter    - SQL Error: -4850, SQLState: 3F000 
      2017-09-04 16:10:36,532 [http://localhost:8080/xwiki/wiki/platform/view/DevGuide/] ERROR o.h.u.JDBCExceptionReporter    - invalid schema name: DEV 
      2017-09-04 16:10:36,535 [http://localhost:8080/xwiki/wiki/platform/view/DevGuide/] WARN  o.h.u.JDBCExceptionReporter    - SQL Error: -4850, SQLState: 3F000 
      2017-09-04 16:10:36,535 [http://localhost:8080/xwiki/wiki/platform/view/DevGuide/] ERROR o.h.u.JDBCExceptionReporter    - invalid schema name: DEV 
      2017-09-04 16:10:36,537 [http://localhost:8080/xwiki/wiki/platform/view/DevGuide/] WARN  o.h.u.JDBCExceptionReporter    - SQL Error: -4850, SQLState: 3F000 
      2017-09-04 16:10:36,538 [http://localhost:8080/xwiki/wiki/platform/view/DevGuide/] ERROR o.h.u.JDBCExceptionReporter    - invalid schema name: EXTENSIONS 
      2017-09-04 16:10:36,540 [http://localhost:8080/xwiki/wiki/platform/view/DevGuide/] WARN  o.h.u.JDBCExceptionReporter    - SQL Error: -4850, SQLState: 3F000 
      2017-09-04 16:10:36,553 [http://localhost:8080/xwiki/wiki/platform/view/DevGuide/] ERROR o.h.u.JDBCExceptionReporter    - invalid schema name: EXTENSIONS 
      2017-09-04 16:10:36,555 [http://localhost:8080/xwiki/wiki/platform/view/DevGuide/] WARN  o.h.u.JDBCExceptionReporter    - SQL Error: -4850, SQLState: 3F000 
      2017-09-04 16:10:36,555 [http://localhost:8080/xwiki/wiki/platform/view/DevGuide/] ERROR o.h.u.JDBCExceptionReporter    - invalid schema name: EXTENSIONS 
      2017-09-04 16:10:36,556 [http://localhost:8080/xwiki/wiki/platform/view/DevGuide/] WARN  o.h.u.JDBCExceptionReporter    - SQL Error: -4850, SQLState: 3F000 
      2017-09-04 16:10:36,557 [http://localhost:8080/xwiki/wiki/platform/view/DevGuide/] ERROR o.h.u.JDBCExceptionReporter    - invalid schema name: EXTENSIONS 
      2017-09-04 16:10:36,559 [http://localhost:8080/xwiki/wiki/platform/view/DevGuide/] WARN  o.h.u.JDBCExceptionReporter    - SQL Error: -4850, SQLState: 3F000 
      2017-09-04 16:10:36,560 [http://localhost:8080/xwiki/wiki/platform/view/DevGuide/] ERROR o.h.u.JDBCExceptionReporter    - invalid schema name: EXTENSIONS 
      2017-09-04 16:10:36,561 [http://localhost:8080/xwiki/wiki/platform/view/DevGuide/] WARN  o.h.u.JDBCExceptionReporter    - SQL Error: -4850, SQLState: 3F000 
      2017-09-04 16:10:36,561 [http://localhost:8080/xwiki/wiki/platform/view/DevGuide/] ERROR o.h.u.JDBCExceptionReporter    - invalid schema name: EXTENSIONS 
      2017-09-04 16:10:36,562 [http://localhost:8080/xwiki/wiki/platform/view/DevGuide/] WARN  o.h.u.JDBCExceptionReporter    - SQL Error: -4850, SQLState: 3F000 
      2017-09-04 16:10:36,562 [http://localhost:8080/xwiki/wiki/platform/view/DevGuide/] ERROR o.h.u.JDBCExceptionReporter    - invalid schema name: SNIPPETS 
      2017-09-04 16:10:36,564 [http://localhost:8080/xwiki/wiki/platform/view/DevGuide/] WARN  o.h.u.JDBCExceptionReporter    - SQL Error: -4850, SQLState: 3F000 
      2017-09-04 16:10:36,564 [http://localhost:8080/xwiki/wiki/platform/view/DevGuide/] ERROR o.h.u.JDBCExceptionReporter    - invalid schema name: DEV 
      2017-09-04 16:10:36,904 [http://localhost:8080/xwiki/wiki/platform/get/DevGuide/WebHome?xpage=xpart&vm=commentsinline.vm] WARN  o.h.u.JDBCExceptionReporter    - SQL Error: -4850, SQLState: 3F000 
      2017-09-04 16:10:36,904 [http://localhost:8080/xwiki/wiki/platform/get/DevGuide/WebHome?xpage=xpart&vm=commentsinline.vm] ERROR o.h.u.JDBCExceptionReporter    - invalid schema name: DEV 
      

      This is alarming for the wiki sysadmin and we should not output those and certainly not as ERRORs.

      Attachments

        Issue Links

          Activity

            People

              vmassol Vincent Massol
              vmassol Vincent Massol
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: