Page MenuHomePhabricator

Need to validate the database name as part of the pre-install checks
Closed, ResolvedPublic

Description

Author: mediazilla

Description:
Normally during installation when an error occurs, the submitted information is redisplayed and the
user is given a big red message saying something like "Correct the fault below and resubmit", but
not in the instance when an invalid database name is given.

I tried to call my database "mwdb_1.6.7" but this is invalid (though "mwdb_1_6_7" is OK). It took
me a little while longer to figure out what was wrong and how to get back (hitting "back" in the
browser).

I suggest that an invalid database name is treated in the same way other errors are treated:
redisplay the submitted data, give an error message, and point to the field in error.


Version: unspecified
Severity: normal

Details

Reference
bz6449

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:18 PM
bzimport set Reference to bz6449.

robchur wrote:

Definitive error message added in r18631.