Return message when database does not exists#472
Conversation
|
|
||
| /** | ||
| * @param dbKey - key with project and company name | ||
| * @return true when database for given dbKey exists |
There was a problem hiding this comment.
It should probably return true also when the database does not exist but the allowAutoCreate flag is set to true :) Please update javadoc. Could you also create some unit tests for this method?
| /** | ||
| * An error occured when accessing database. | ||
| */ | ||
| PROCESSING_ERROR, |
There was a problem hiding this comment.
If this status is only returned when the database does not exist (and can't be created), please rename it to e.g. MISSING_DATABASE
|
Please update a changelog ;) |
|
Tested and accepted. "No database found for company: 'companyname', project: 'projectname'." - result is displaying, which is expected. Without changes only timeout display. QA Covered. |
When database for given company and project doesn't exists proper message is displayed.
Description
SuiteStausServlet returns status
PROCESSING_ERRORand proper message when database doesn't existsMotivation and Context
Closes #341
Types of changes
Checklist:
I hereby agree to the terms of the AET Contributor License Agreement.