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

Erick Erickson commented on SOLR-5459:
--------------------------------------

[~steffkes] Can I ask you to provide a "test" button on the UI? It would go to 
the ShowFileRequestHandler with the stream set to the current file and, say, 
op="test"?

Thinking it over, one advantage of this is that if, for some reason, creating 
all the temp stuff doesn't work (permissions, whatever) they can still edit 
through the UI. It puts testing under explicit control.

I should check in the relevant code tonight.

> Try loading a temporary core when saving a file in the admin UI config 
> editing mode
> -----------------------------------------------------------------------------------
>
>                 Key: SOLR-5459
>                 URL: https://issues.apache.org/jira/browse/SOLR-5459
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Erick Erickson
>            Assignee: Erick Erickson
>         Attachments: SOLR-5459.patch
>
>
> SOLR-5287 adds the ability to shoot yourself in the foot by changing core 
> config files such that the core can't load, leading to having to go out into 
> the filesystem and manually edit the files until you _can_ reload the core. 
> This is clumsy at best.
> Mark Miller suggested creating a temporary core and trying to reload it 
> before saving the "real" changes, which gives us an approach to the problem 
> that seems relatively easy to implement.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to