#227: inveniocfg --drop-demo-site should not create tables
-----------------------+----------------------------------------------------
 Reporter:  jblayloc   |       Owner:     
     Type:  defect     |      Status:  new
 Priority:  major      |   Milestone:     
Component:  *general*  |     Version:     
 Keywords:  Invenio    |  
-----------------------+----------------------------------------------------
 If you have a naked cdsinvenio database with no tables in it, and you run:
 {{{
 /opt/cds-invenio/bin/inveniocfg --drop-demo-site # note no sudo
 }}}
 ...then inveniocfg fails.  However, it fails in a strange way: it
 *creates* database tables.

 If there are no tables, and I run --drop-demo-site, it should not create
 tables as a side effect of its failure.  The current behavior clearly
 violates the principal of least surprise.

-- 
Ticket URL: <http://invenio-software.org/ticket/227>
Invenio <http://invenio-software.org>

Reply via email to