You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Hoss Man (JIRA)" <ji...@apache.org> on 2015/09/30 23:59:04 UTC

[jira] [Commented] (SOLR-6688) There should be no error about a non-required file admin-extra.html

    [ https://issues.apache.org/jira/browse/SOLR-6688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14938945#comment-14938945 ] 

Hoss Man commented on SOLR-6688:
--------------------------------

bq. I am still experiencing the errors with the block commented out. 

yeah, i'm not sure what else Marcos may have done/tried but even w/o an {{<admin/>}} block in solrconfig.xml the UI still asks for those files and the ShowFileRequestHandler will still log an ERROR if the files can't be found -- because as a generalized feature it doesn't know if/when a file not found is "non important"

One possibility would be to add an option to the ShowFileRequestHandler to _indicate_ "don't treat it as an error if this file can't be found" but that seems really ugly to me.

In my opinion, the best option would be to update the Admin UI code so that it takes advantage of the "list files" feature that already exists in the ShowFileRequestHandler (ie: a request w/o a "file" param - which is how the "Files" tab in the UI is populated) so that the Overview tab only request the various "admin extra" files that the UI is looking for if it knows they exist (and are not hidden -- which is already dealt with by the "list files" code).

[~upayavira] - what do you think? that should be fairly straight forward right?


> There should be no error about a non-required file admin-extra.html
> -------------------------------------------------------------------
>
>                 Key: SOLR-6688
>                 URL: https://issues.apache.org/jira/browse/SOLR-6688
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Arkadiusz RobiƄski
>            Priority: Minor
>
> I am using SOLR 4.10.1. I have a simple configuration with 2 cores. Every time I open the SOLR admin interface, I get the following errors:
> {noformat}
> Can not find: admin-extra.html
> Can not find: admin-extra.menu-top.html
> Can not find: admin-extra.menu-bottom.html
> {noformat}
> As far as I know, the files are optional. Therefore I should not get any error, not even a warning.
> I do not want to create the files because I do not need them. The error should simply not be there.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org