? ? ? ? Pending

User tests: Successful: Unsuccessful:

avatar brianteeman
brianteeman
3 Aug 2019

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)

avatar brianteeman brianteeman - open - 3 Aug 2019
avatar brianteeman brianteeman - change - 3 Aug 2019
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 3 Aug 2019
Category Installation Language & Strings
avatar Quy
Quy - comment - 3 Aug 2019

Make the real name required?

avatar brianteeman
brianteeman - comment - 3 Aug 2019

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

avatar brianteeman brianteeman - change - 3 Aug 2019
Labels Added: ? ?
avatar brianteeman
brianteeman - comment - 3 Aug 2019

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

avatar wilsonge
wilsonge - comment - 3 Aug 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

avatar brianteeman
brianteeman - comment - 3 Aug 2019
avatar joomla-cms-bot joomla-cms-bot - change - 3 Aug 2019
Category Installation Language & Strings Installation Language & Strings Unit Tests
avatar wilsonge
wilsonge - comment - 4 Aug 2019

merged. can you update the composer dependency here please?

composer install
composer update joomla-projects/joomla-browser

avatar infograf768 infograf768 - change - 4 Aug 2019
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - change - 4 Aug 2019
Category Installation Language & Strings Unit Tests External Library Composer Change Installation Language & Strings Unit Tests
avatar brianteeman
brianteeman - comment - 4 Aug 2019

Updated as requested

avatar richard67
richard67 - comment - 4 Aug 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.

avatar richard67 richard67 - test_item - 4 Aug 2019 - Tested successfully
avatar richard67
richard67 - comment - 4 Aug 2019

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.

avatar alikon
alikon - comment - 4 Aug 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.

avatar alikon alikon - test_item - 4 Aug 2019 - Tested successfully
avatar wilsonge
wilsonge - comment - 4 Aug 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

avatar brianteeman
brianteeman - comment - 4 Aug 2019

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

avatar brianteeman brianteeman - change - 4 Aug 2019
Labels Added: ?
avatar brianteeman
brianteeman - comment - 4 Aug 2019

I assume I do so I did

avatar richard67
richard67 - comment - 4 Aug 2019

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.

avatar richard67 richard67 - test_item - 4 Aug 2019 - Tested successfully
avatar wilsonge
wilsonge - comment - 4 Aug 2019

You did. Looks happy now!

avatar wilsonge wilsonge - change - 4 Aug 2019
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2019-08-04 20:52:26
Closed_By wilsonge
avatar wilsonge wilsonge - close - 4 Aug 2019
avatar wilsonge wilsonge - merge - 4 Aug 2019
avatar wilsonge
wilsonge - comment - 4 Aug 2019

Thanks!

avatar brianteeman
brianteeman - comment - 4 Aug 2019

Great - thanks

Add a Comment

Login with GitHub to post a comment