Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-975

Fix mime type handling in integration tests and default GET servlets

    XMLWordPrintableJSON

Details

    Description

      Integrationtests fail due to the new MIME type file:

      These expect text/xml and get application/xml, where the latter is considered "more correct" today:

      testEspXml(org.apache.sling.launchpad.webapp.integrationtest.NodetypeRenderingTest)
      testEspXml(org.apache.sling.launchpad.webapp.integrationtest.SlingResourceTypeRenderingTest)

      These expected application/x-javascript and get application/javascript:

      testJavascriptFile(org.apache.sling.launchpad.webapp.integrationtest.StreamServletTest)
      testEspJs(org.apache.sling.launchpad.webapp.integrationtest.SlingResourceTypeRenderingTest)

      Since these failures are a result of upgrading our core MIME types file to the Apache httpd version, I consider the tests wrong and will fix them

      Attachments

        Activity

          People

            fmeschbe Felix Meschberger
            fmeschbe Felix Meschberger
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: