Alexandre Rafalovitch created SOLR-6992:
-------------------------------------------

             Summary: ShowFileRequestHandler is hiding dynamic schema file even 
in read-only mode
                 Key: SOLR-6992
                 URL: https://issues.apache.org/jira/browse/SOLR-6992
             Project: Solr
          Issue Type: Bug
    Affects Versions: 5.0
            Reporter: Alexandre Rafalovitch
            Priority: Minor
             Fix For: 5.0


When using dynamic schema, the schema file is not shown in the admin UI (Files 
tab) by default. It is hidden because (as per [the section 
comment|https://github.com/apache/lucene-solr/blob/db33df44c037e04fea9ac3e391ef79c0d6ae04f4/solr/core/src/java/org/apache/solr/handler/admin/ShowFileRequestHandler.java#L279]):
{quote}
 // Make sure that if the schema is managed, we don't allow editing. 
{quote}

But we don't have editing interface for those files (SOLR-5287 was backed out), 
so the reason is not valid and makes reviewing schema just that bit harder.

The fix is probably just editing out that section, unless there are tests 
specifically for that.




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

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

Reply via email to