? Pending

User tests: Successful: Unsuccessful:

avatar richard67
richard67
7 Jan 2021

Pull Request for 8cfeec1#commitcomment-45729579.

Summary of Changes

Solve the merge conflict we currently have in the 4.0-dev branch here:

https://github.com/joomla/joomla-cms/blob/4.0-dev/layouts/joomla/form/field/password.php#L161-L203

Testing Instructions

  1. Start a new installation on current 4.0-dev or latest 4.0 nightly build. Select language and site name and go to the next step for entering super user data and do not continue after that.
    Result: The form shows a merge conflict, see section "Actual result BEFORE applying this Pull Request" below.
  2. Apply the patch of this PR.
  3. Start again the new installation.
    Result: The form doesn't show a merge conflict. The installation succeeds.
  4. Test PR #31672 again as described there, but this time on the 4.0-dev or latest 4.0 nightly build with the patch of this PR applied.
    Result: See section "Expected result AFTER applying this Pull Request" below.

Actual result BEFORE applying this Pull Request

Drone PHP CS fails in the 4.0-dev branch at the file modified by this PR here.

New installation: The form shows a merge conflict
2021-01-07_1

Expected result AFTER applying this Pull Request

Drone PHP CS is successful for this PR here.

New installation: The form doesn't show a merge conflict
2021-01-07_3

The change from PR #31672 works on 4.0, too.

Eg for database password in Global Configuration, Server tab:
2021-01-07_2

Documentation Changes Required

None.

avatar richard67 richard67 - open - 7 Jan 2021
avatar richard67 richard67 - change - 7 Jan 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 7 Jan 2021
Category Layout
avatar wilsonge
wilsonge - comment - 7 Jan 2021

This isn't quite good enough. The lock is different to revealing the password. Thanks for flagging this though. Will work on it in a little bit

avatar richard67 richard67 - change - 7 Jan 2021
The description was changed
avatar richard67 richard67 - edited - 7 Jan 2021
avatar richard67
richard67 - comment - 7 Jan 2021

@wilsonge I understand. Shall we append both, the new "modify" button and the "password toggle" (eye) button? Or only the new button?

avatar richard67 richard67 - change - 7 Jan 2021
Labels Added: ?
avatar richard67
richard67 - comment - 7 Jan 2021

@wilsonge Better now?

avatar richard67 richard67 - change - 7 Jan 2021
The description was changed
avatar richard67 richard67 - edited - 7 Jan 2021
avatar richard67 richard67 - change - 7 Jan 2021
The description was changed
avatar richard67 richard67 - edited - 7 Jan 2021
avatar richard67 richard67 - change - 7 Jan 2021
The description was changed
avatar richard67 richard67 - edited - 7 Jan 2021
avatar richard67
richard67 - comment - 7 Jan 2021

Hmm, it needs to fix the duplicate description.

avatar richard67 richard67 - change - 7 Jan 2021
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - change - 7 Jan 2021
Category Layout Administration com_config Layout
avatar richard67 richard67 - change - 7 Jan 2021
The description was changed
avatar richard67 richard67 - edited - 7 Jan 2021
avatar richard67
richard67 - comment - 7 Jan 2021

Hmm, it needs to fix the duplicate description.

Done.

avatar richard67 richard67 - change - 7 Jan 2021
The description was changed
avatar richard67 richard67 - edited - 7 Jan 2021
avatar richard67 richard67 - change - 7 Jan 2021
The description was changed
avatar richard67 richard67 - edited - 7 Jan 2021
avatar richard67 richard67 - change - 7 Jan 2021
The description was changed
avatar richard67 richard67 - edited - 7 Jan 2021
avatar richard67
richard67 - comment - 7 Jan 2021

@wilsonge Ready with the fix.

avatar richard67 richard67 - change - 7 Jan 2021
The description was changed
avatar richard67 richard67 - edited - 7 Jan 2021
avatar wilsonge
wilsonge - comment - 7 Jan 2021

Looks better on code review. Not sure what the interaction will be with the wp security bar when the field is locked. But I guess another problem for another day ?

avatar chmst
chmst - comment - 7 Jan 2021

I have tested this item successfully on 4ed620c


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

avatar chmst
chmst - comment - 7 Jan 2021

I have tested this item successfully on 4ed620c


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

avatar chmst chmst - test_item - 7 Jan 2021 - Tested successfully
avatar chmst
chmst - comment - 7 Jan 2021

Tested the layout only concerning the conflict information.


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

avatar wilsonge
wilsonge - comment - 7 Jan 2021

I have tested this item successfully on 4ed620c

Tested installer and global config. If the lock is enabled, we need to be a bit more clever with the show/hide button I guess (because the value is always empty when you unlock). But this is good enough for now.


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

avatar wilsonge wilsonge - test_item - 7 Jan 2021 - Tested successfully
avatar wilsonge wilsonge - change - 7 Jan 2021
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2021-01-07 18:11:46
Closed_By wilsonge
Labels Removed: ?
avatar wilsonge wilsonge - close - 7 Jan 2021
avatar wilsonge wilsonge - merge - 7 Jan 2021
avatar wilsonge
wilsonge - comment - 7 Jan 2021

Thanks!

Add a Comment

Login with GitHub to post a comment