You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Bill Au (JIRA)" <ji...@apache.org> on 2007/10/25 16:16:50 UTC

[jira] Created: (SOLR-393) contentType is set twice with conflicting values in raw-schema.jsp

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

                 Key: SOLR-393
                 URL: https://issues.apache.org/jira/browse/SOLR-393
             Project: Solr
          Issue Type: Bug
          Components: web gui
            Reporter: Bill Au


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" %>




-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (SOLR-393) contentType is set twice with conflicting values in raw-schema.jsp

Posted by "Bill Au (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-393?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bill Au resolved SOLR-393.
--------------------------

    Resolution: Fixed

patch committed.  Also updated CHANGES.txt.

> contentType is set twice with conflicting values in raw-schema.jsp
> ------------------------------------------------------------------
>
>                 Key: SOLR-393
>                 URL: https://issues.apache.org/jira/browse/SOLR-393
>             Project: Solr
>          Issue Type: Bug
>          Components: web gui
>            Reporter: Bill Au
>         Attachments: solr-393.patch
>
>
> 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" %>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SOLR-393) contentType is set twice with conflicting values in raw-schema.jsp

Posted by "Bill Au (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-393?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bill Au updated SOLR-393:
-------------------------

    Attachment: solr-393.patch

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

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


> contentType is set twice with conflicting values in raw-schema.jsp
> ------------------------------------------------------------------
>
>                 Key: SOLR-393
>                 URL: https://issues.apache.org/jira/browse/SOLR-393
>             Project: Solr
>          Issue Type: Bug
>          Components: web gui
>            Reporter: Bill Au
>         Attachments: solr-393.patch
>
>
> 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" %>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.