Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-2405

jQuery sourceMappingURL in OAI is declared but not available

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.0
    • Fix Version/s: 5.0
    • Component/s: OAI-PMH
    • Labels:
      None
    • Attachments:
      0
    • Comments:
      2
    • Documentation Status:
      Not Required

      Description

      When you access the DSpace OAI interface in a browser, it is rendered into HTML. A .js file we use declares sourceMappingURL (explanation below) which points to a file we don't provide. This can result in errors, eg. in Chrome console:
      GET http://localhost:8080/oai/static/js/jquery-2.0.3.min.map 404 (Not Found)

      The problematic line is here:
      https://github.com/DSpace/DSpace/blob/master/dspace-oai/src/main/webapp/static/js/jquery.js#L2

      What is sourceMappingURL?
      http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/

      This PR will also address this change:
      http://updates.html5rocks.com/2013/06/sourceMappingURL-and-sourceURL-syntax-changed

        Attachments

          Activity

            People

            Assignee:
            mwood Mark H. Wood
            Reporter:
            helix84 Ivan Masár
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: