Skip to content

Conversation

@brianteeman
Copy link
Contributor

For historical reasons that I bet no one can remember Joomla doesn't currently let you enter the real name of the Super User when installing Joomla. As a result every site on installation has a user with the name "Super User". This regularly causes issues as it gets confused with the usergroup "Super Users". That might be a translation issue or simply because there is just one character difference I don't know and it doesnt really matter.

As today there is no valid reason to force the name to be "Super User" this PR prompts for the real name as well as the username during installation.

To test.

Apply this PR using patchtester.
delete configuration.php
re-install joomla

image

image

(Please no bikeshedding about other issues in the installer)

For historical reasons that I bet no one can remember Joomla doesn't currently let you enter the real name of the Super User when installing Joomla. As a result every site on installation has a user with the name "Super User". This regularly causes issues as it gets confused with the usergroup "Super Users". That might be a translation issue or simply because there is just one character difference I don't know and it doesnt really matter.

As today there is no valid reason to force the name to be "Super User" and this PR prompts for the real name as well as the username during installation.

### To test.
Apply this PR using patchtester.
delete configuration.php
re-install joomla

(Please no bikeshedding about other issues in the installer)
@joomla-cms-bot joomla-cms-bot added Language Change This is for Translators PR-4.0-dev labels Aug 3, 2019
@Quy
Copy link
Contributor

Quy commented Aug 3, 2019

Make the real name required?

@brianteeman
Copy link
Contributor Author

oops I meant to do that - even if the entire required thing is foobar

@brianteeman
Copy link
Contributor Author

It makes sense to me that this is failing the tests.

Do I submit the pr to fix that here https://github.com/joomla-projects/joomla-browser/blob/develop/src/JoomlaBrowser.php

@Hackwar @wilsonge

@wilsonge
Copy link
Contributor

wilsonge commented Aug 3, 2019

v4.0.0 branch rather than develop but yes. relevent code is here https://github.com/joomla-projects/joomla-browser/blob/v4.0.0/src/JoomlaBrowser.php#L241-L247

@brianteeman
Copy link
Contributor Author

See joomla-projects/joomla-browser#186 for the tests

@wilsonge
Copy link
Contributor

wilsonge commented Aug 4, 2019

merged. can you update the composer dependency here please?

composer install
composer update joomla-projects/joomla-browser

@brianteeman
Copy link
Contributor Author

Updated as requested

@richard67
Copy link
Member

I have tested this item ✅ successfully on 5919cdf


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

@richard67
Copy link
Member

Tested new install with MySQL 5.7 and PostgreSQL 10.9.

Thanks for this PR. It was time that it was done. One step less to do after a new installation.

@alikon
Copy link
Contributor

alikon commented Aug 4, 2019

I have tested this item ✅ successfully on 5919cdf


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

@wilsonge
Copy link
Contributor

wilsonge commented Aug 4, 2019

Looks like you made a slight mistake in the system tests jform_admin_name but in the xml there your is is jform_admin_user you need to either update the tests or the xml so they match

@brianteeman
Copy link
Contributor Author

@wilsonge corrected and merged. Do I have to update composer again?

@brianteeman
Copy link
Contributor Author

I assume I do so I did

@richard67
Copy link
Member

I have tested this item ✅ successfully on ade86cb


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

@wilsonge
Copy link
Contributor

wilsonge commented Aug 4, 2019

You did. Looks happy now!

@wilsonge wilsonge merged commit 94a5c4d into joomla:4.0-dev Aug 4, 2019
@wilsonge
Copy link
Contributor

wilsonge commented Aug 4, 2019

Thanks!

@wilsonge wilsonge added this to the Joomla 4.0 milestone Aug 4, 2019
@brianteeman
Copy link
Contributor Author

Great - thanks

@brianteeman brianteeman deleted the sat1 branch August 4, 2019 20:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants