Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-393

contentType is set twice with conflicting values in raw-schema.jsp

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.3
    • Admin UI
    • None

    Description

      Content type is set twice in raw-schema.jsp with conflicting values, causing a compiling error in Resin:

      <%@ page contentType="text/html; charset=utf-8" pageEncoding="UTF-8"%>
      <%--
      Licensed to the Apache Software Foundation (ASF) under one or more
      contributor license agreements. See the NOTICE file distributed with
      this work for additional information regarding copyright ownership.
      The ASF licenses this file to You under the Apache License, Version 2.0
      (the "License"); you may not use this file except in compliance with
      the License. You may obtain a copy of the License at

      http://www.apache.org/licenses/LICENSE-2.0

      Unless required by applicable law or agreed to in writing, software
      distributed under the License is distributed on an "AS IS" BASIS,
      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
      See the License for the specific language governing permissions and
      limitations under the License.
      --%>
      <%@ page import="org.apache.solr.core.SolrCore,
      org.apache.solr.schema.IndexSchema"%>
      <%@ page import="java.io.InputStreamReader"%>
      <%@ page import="java.io.Reader"%>
      <%@ page contentType="text/plain;charset=UTF-8" language="java" %>

      Attachments

        1. solr-393.patch
          0.6 kB
          William Au

        Activity

          People

            Unassigned Unassigned
            billa William Au
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: