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

Javascript Error : require is not defined when XWiki is the root app

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 7.2-milestone-2, 7.1.2
    • 7.1-milestone-1
    • URLs
    • Debian 7 or 8
      Tomcat 7 or 8
    • Unit
    • Unknown
    • N/A
    • N/A

    Description

      Javascript Error : require is not defined.

      xwiki is configured as an application ROOT on Tomcat.
      and the Context path="/xwiki" have replaced by Context path="/"

      And now, in all pages of wiki, i have
      <script type="text/javascript" src="//webjars/requirejs/2.1.15/require.min.js?r=1"></script>

      And web jars don't work in this case.

      Attachments

        Issue Links

          Activity

            People

              vmassol Vincent Massol
              julien Julien Redondo
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: