In regards to http://drupal.org/node/82173, there should also be a notice for possible wrong port entered.
| Comment | File | Size | Author |
|---|---|---|---|
| #22 | interdiff.82571.19-22.txt | 1.86 KB | gogowitsch |
| #22 | 82571-22.drupal.Error-message-in-installer-mentions-possibly-wrong-username-etc-but-not-port.patch | 5.85 KB | gogowitsch |
Comments
Comment #1
flk commentedComment #2
dries commentedCould you go over the messages and clean up the wording a little bit? Sometimes we use 'database something' (eg. 'database port'). Other times we use just 'something' (eg. 'port').
Comment #3
chx commentedThis issue is about the port notices which are rather consistent of what there are. Such a consistency patch can be rolled separately. (I am not 100% we need that, if we talk about database server do we need to stress that the username and password is for the database server? but, separate issue)
Comment #4
drummThe added code needs to be consistent with itself. I think 'port' is good in these contexts.
Comment #5
tstoecklerThis is still valid. Relevant code: http://drupalcode.org/project/drupal.git/blob/HEAD:/includes/install.inc...
Tagging with usability, because of recent efforts to reduce wordiness of messages and help text. Maybe the text is good as is, in which case this is won't fix.
Comment #6
tstoecklerAdding tag
Comment #7
NROTC_Webmaster commentedtstoeckler,
Can you add the patch? I can't see the reference.
Comment #8
tstoeckler@NROTC_Webmaster: Sorry, I don't get what you mean. Which patch?
Comment #9
NROTC_Webmaster commentedI was talking about the link in #5 but I'm guessing you were actually referring to the file in core.
Comment #16
asvira commentedWhy don't we just mention possible wrong port number along with possible wrong host name in the same sentence? It may sound like this:
* Have you entered the correct database name?
* Have you entered the correct username and password?
* Have you entered the correct database hostname and port number?
Patch is attached (made on 8.8-dev branch).
Looking forward to your thoughts.
Comment #17
asvira commentedSubmitting new patch since the previous one has failed to apply.
Comment #18
johnwebdev commentedsqlite does not have the concept of username/password, port number and hostname. the fail messages here should mostly be about filesystem permissions and the path to the database file, I think.
Comment #19
asvira commentedI rewrote messages for sqlite. Replaced "database server and database" with "database engine and database file". If these changes need to be discussed, I will remove sqlite from this patch and create a separate issue for adjusting sqlite install messages.
Also, this issue might be resolved by resolving https://www.drupal.org/project/drupal/issues/3050161
Comment #20
tatarbjComment #21
cilefen commentedComment #22
gogowitsch commented+1 from me!
The patch in #19 looked good except for minor grammar hiccups with the SQLite message. I have added a new patch to fix these.
I changed the branch to 8.8.x, because all active development should happen there now that 8.7.x is released.
Comment #23
asvira commentedThank you @Gogowitsch. Your adjustment is fine for me.
Looking forward for more reviewers
Comment #24
asvira commentedSeems that this is ready to go to Core maintainers.
Comment #26
cilefen commented#3055648: Frequent random fail in \Drupal\Tests\media_library\FunctionalJavascript\MediaLibraryTest
Comment #27
asvira commentedRerun tests
Comment #29
asvira commentedAll tests passed.
Comment #31
catch13 years!
Committed 747bd48 and pushed to 8.8.x. Thanks!