You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Peter Wolanin (JIRA)" <ji...@apache.org> on 2011/05/22 01:03:47 UTC
[jira] [Updated] (SOLR-2535) In Solr 3.1.0 the admin/file handler
fails to show directory listings
[ https://issues.apache.org/jira/browse/SOLR-2535?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Peter Wolanin updated SOLR-2535:
--------------------------------
Description:
In Solr 4.1.1, going to the path solr/admin/file I see and XML-formatted listing of the conf directory, like:
{noformat}
<response>
<lst name="responseHeader"><int name="status">0</int><int name="QTime">1</int></lst>
<lst name="files">
<lst name="elevate.xml"><long name="size">1274</long><date name="modified">2011-03-06T20:42:54Z</date></lst>
...
</lst>
</response>
{noformat}
I can list the xslt sub-dir using solr/admin/files?file=/xslt
In Solr 3.1.0, both of these fail with a 500 error:
{noformat}
HTTP ERROR 500
Problem accessing /solr/admin/file/. Reason:
did not find a CONTENT object
java.io.IOException: did not find a CONTENT object
{noformat}
Looking at the code in class ShowFileRequestHandler, it seem like 3.1.0 should still handle directory listings if not file name is given, or if the file is a directory, so I am filing this as a bug.
was:
In Solr 4.1.1, going to the path solr/admin/file I see and XML-formatted listing of the conf directory, like:
{noformat}
<response>
<lst name="responseHeader"><int name="status">0</int><int name="QTime">1</int></lst>
<lst name="files">
<lst name="elevate.xml"><long name="size">1274</long><date name="modified">2011-03-06T20:42:54Z</date></lst>
...
</lst>
</response>
{noformat}
I can list the xslt sub-dir using solr/admin/files?file=/xslt
In Solr 3.1.0, both of these fail with a 500 error:
{noformat}
HTTP ERROR 500
Problem accessing /solr/admin/file/. Reason:
did not find a CONTENT object
java.io.IOException: did not find a CONTENT object
{noformat}
Looking at the code in class ShowFileRequestHandler, it seem like 3.1.0 should still handle directory listings if not file name is given, or if the file is a directory, so I am filing this as a bug.
Summary: In Solr 3.1.0 the admin/file handler fails to show directory listings (was: In Solr 3.1.0 the admin/file handler failes to show director listings)
> In Solr 3.1.0 the admin/file handler fails to show directory listings
> ---------------------------------------------------------------------
>
> Key: SOLR-2535
> URL: https://issues.apache.org/jira/browse/SOLR-2535
> Project: Solr
> Issue Type: Bug
> Components: SearchComponents - other
> Affects Versions: 3.1
> Environment: java 1.6, jetty
> Reporter: Peter Wolanin
> Fix For: 3.1.1, 3.2
>
>
> In Solr 4.1.1, going to the path solr/admin/file I see and XML-formatted listing of the conf directory, like:
> {noformat}
> <response>
> <lst name="responseHeader"><int name="status">0</int><int name="QTime">1</int></lst>
> <lst name="files">
> <lst name="elevate.xml"><long name="size">1274</long><date name="modified">2011-03-06T20:42:54Z</date></lst>
> ...
> </lst>
> </response>
> {noformat}
> I can list the xslt sub-dir using solr/admin/files?file=/xslt
> In Solr 3.1.0, both of these fail with a 500 error:
> {noformat}
> HTTP ERROR 500
> Problem accessing /solr/admin/file/. Reason:
> did not find a CONTENT object
> java.io.IOException: did not find a CONTENT object
> {noformat}
> Looking at the code in class ShowFileRequestHandler, it seem like 3.1.0 should still handle directory listings if not file name is given, or if the file is a directory, so I am filing this as a bug.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org