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 "Ryan McKinley (JIRA)" <ji...@apache.org> on 2008/06/05 20:11:45 UTC

[jira] Updated: (SOLR-493) /admin/file links don't work with legacy configs

     [ https://issues.apache.org/jira/browse/SOLR-493?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ryan McKinley updated SOLR-493:
-------------------------------

    Attachment: SOLR-493-OldAdminFile.patch

This patch checks for admin/gettableFiles and adds the ShowFile request handler if necessary.

It also builds the "hidden" list as the inverse of the "gettable" list.

> /admin/file links don't work with legacy configs
> ------------------------------------------------
>
>                 Key: SOLR-493
>                 URL: https://issues.apache.org/jira/browse/SOLR-493
>             Project: Solr
>          Issue Type: Bug
>          Components: web gui
>            Reporter: Hoss Man
>            Assignee: Ryan McKinley
>            Priority: Minor
>             Fix For: 1.3
>
>         Attachments: SOLR-493-OldAdminFile.patch
>
>
> admin screen in trunk currently links to /admin/file/?file=schema.xml and /admin/file/?file=solrconfig.xml by defualt and expects the config to map /admin/file to ShowFileRequestHandler ... this isn't backwards compatible for Solr 1.2 users.
> we should put some extra logic in SolrCore.init to automaticly register an instance of ShowFileRequestHandler if there is a <gettableFiles> section in solrconfig.xml and no instnces of ShowFileRequestHandler are already registered (with a warning logged about <gettableFiles> being deprecated)
> http://www.nabble.com/Get-Config---Schema%2C-1.3-dev-Broken--to15360280.html#a15360280

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