From 62537bebc4f70d24dff88cbf43a34f9644151deb Mon Sep 17 00:00:00 2001 From: epugh Date: Wed, 31 Jan 2018 15:41:18 -0500 Subject: [PATCH] SOLR-11933: make DIH safer by not default checking the clean checkbox This closes #316 --- solr/CHANGES.txt | 2 ++ solr/webapp/web/js/angular/controllers/dataimport.js | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt index aaad547f0f5..8ce41ef6985 100644 --- a/solr/CHANGES.txt +++ b/solr/CHANGES.txt @@ -260,6 +260,8 @@ Other Changes * SOLR-11613: Make message for missing dataimport config in UI more explicit. (Shawn Heisey, Amrit Sarkar via Cassandra Targett) +* SOLR-11933: Make DIH UI page safer by not default checking the clean checkbox (Eric Pugh via Tomás Fernández Löbbe) + ================== 7.2.1 ================== Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release. diff --git a/solr/webapp/web/js/angular/controllers/dataimport.js b/solr/webapp/web/js/angular/controllers/dataimport.js index cebf27ab878..c31b6f0fbe7 100644 --- a/solr/webapp/web/js/angular/controllers/dataimport.js +++ b/solr/webapp/web/js/angular/controllers/dataimport.js @@ -96,7 +96,7 @@ solrAdminApp.controller('DataImportController', $scope.form = { command: "full-import", verbose: false, - clean: true, + clean: false, commit: true, showDebug: false, custom: "",