[
https://issues.apache.org/jira/browse/SOLR-3633?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13423361#comment-13423361
]
Stefan Matheis (steffkes) commented on SOLR-3633:
-------------------------------------------------
bq. [..] i don't think we should rush it or make plans assuming it can be done
quickly, because you never know where that code might have a small, crucial,
assumption about hte availability of a core. [..]
oh yeah, don't get me wrong - that wasn't my intention for now .. just a
steffkes-don't-know-much-about-internals question to get a feeling if that
would be a way we can go .. or not :)
in the meantime i've created an patch for SOLR-3635 -- the patch (or more
precise, the idea of the patch) works for every screen we have .. a
normal/complete admin ui as well as the 'error-screens' we have in some cases.
the code check's for an existing {{initFailures}} object in CoreAdmin-Response
and loops over it to collect all given error messages and shows them in an
simple list .. either on top of the provided error message or on top of the
normal ui-screen (dashboard, logging, ..)
so, for now, we have:
* SOLR-3677: No Cores at all
* SOLR-3634 + SOLR-3635: Init Failures (either w/ or w/o cores)
Still missing an good idea how we can handle the no-cores case providing a
complete ui-frame .. will think about that.
> web UI reports and error if CoreAdminHandler says there are no SolrCores
> ------------------------------------------------------------------------
>
> Key: SOLR-3633
> URL: https://issues.apache.org/jira/browse/SOLR-3633
> Project: Solr
> Issue Type: Bug
> Components: web gui
> Affects Versions: 4.0-ALPHA
> Reporter: Hoss Man
> Assignee: Stefan Matheis (steffkes)
> Fix For: 4.0
>
> Attachments: SOLR-3633.patch
>
>
> Spun off from SOLR-3591...
> * having no SolrCores is a valid situation
> * independent of what may happen in SOLR-3591, the web UI should cleanly deal
> with there being no SolrCores, and just hide/grey out any tabs that can't be
> supported w/o at least one core
> * even if there are no SolrCores the core admin features (ie: creating a new
> core) should be accessible in the UI
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]