Solr
  1. Solr
  2. SOLR-393

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3
    • Component/s: web gui
    • Labels:
      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" %>

        Activity

        Hide
        Hoss Man added a comment -

        This bug was modified as part of a bulk update using the criteria...

        • Marked "Resolved" and "Fixed"
        • Had no "Fix Version" versions
        • Was listed in the CHANGES.txt for 1.3 as of today 2008-03-15

        The Fix Version for all 29 issues found was set to 1.3, email notification was suppressed to prevent excessive email.

        For a list of all the issues modified, search jira comments for this (hopefully) unique string: batch20070315hossman1

        Show
        Hoss Man added a comment - This bug was modified as part of a bulk update using the criteria... Marked "Resolved" and "Fixed" Had no "Fix Version" versions Was listed in the CHANGES.txt for 1.3 as of today 2008-03-15 The Fix Version for all 29 issues found was set to 1.3, email notification was suppressed to prevent excessive email. For a list of all the issues modified, search jira comments for this (hopefully) unique string: batch20070315hossman1
        Hide
        Bill Au added a comment -

        patch committed. Also updated CHANGES.txt.

        Show
        Bill Au added a comment - patch committed. Also updated CHANGES.txt.
        Hide
        Bill Au added a comment -

        The attached patch remove duplicates contentType settings, keeping the last one:

        <%@ page contentType="text/plain;charset=UTF-8" language="java" %>

        Show
        Bill Au added a comment - The attached patch remove duplicates contentType settings, keeping the last one: <%@ page contentType="text/plain;charset=UTF-8" language="java" %>

          People

          • Assignee:
            Unassigned
            Reporter:
            Bill Au
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development