?
avatar ceford
ceford
3 Feb 2020

Steps to reproduce the issue

In Global Configuration set either Cookie Domain or Cookie Path to invalid values and logout.

Expected result

Normal login.

Actual result

You will not be able to login. The login form appears dead. You may not remember what you were doing before logging out and spend days trying to figure out what went wrong. I did!

System information (as much as possible)

J4-beta1-dev

Additional comments

It would be nice if the cookie path label had a warning to the effect that 'Setting an invalid value will disable login - edit configuration.php to fix'. Or populate with the site path if it is empty.

avatar ceford ceford - open - 3 Feb 2020
avatar joomla-cms-bot joomla-cms-bot - labeled - 3 Feb 2020
avatar brianteeman
brianteeman - comment - 3 Feb 2020

Whilst it was unfortunate what happened to you I dont believe that the user interface is the place to document everything.

In this particular example do you really believe that the message would have prevented you entering an invalid value. I don't as presumably you thought it was correct when you entered it.

avatar ceford
ceford - comment - 4 Feb 2020

My motivation was to help prevent some unfortunate soul losing a site. I notice that there is no descriptor for the Cookie Path field (COM_CONFIG_FIELD_COOKIE_PATH_DESC is not present in the language file). If there were a helpful message I would have seen it in one of the other sites I created and it might have helped me figure out what went wrong. And no coding involved! Should I go back to the Forum and ask for RFC on the wording of a label for the Cookie Path field?


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/27787.

avatar brianteeman
brianteeman - comment - 4 Feb 2020

I really dont agree that this description would have helped you. It is no different to lots of fields where the incorrect values will kill your site

avatar ceford
ceford - comment - 4 Feb 2020

OK. Let's forget it. I will close this issue.

avatar brianteeman
brianteeman - comment - 4 Feb 2020

It will be useful to add this to the docs web site

avatar ceford ceford - change - 4 Feb 2020
Status New Closed
Closed_Date 0000-00-00 00:00:00 2020-02-04 09:07:29
Closed_By ceford
avatar ceford ceford - close - 4 Feb 2020

Add a Comment

Login with GitHub to post a comment