?
avatar nono1974
nono1974
21 Aug 2020

What needs to be fixed

The file \components\com_users\models\forms\registration.xml is buggy and not referencing the right Label and Description of translation.

	<field
		name="password1" 
		type="password"
		label="COM_USERS_PROFILE_PASSWORD1_LABEL"
		description="COM_USERS_DESIRED_PASSWORD"
		autocomplete="off"
		class="validate-password"
		field="password1"
		filter="raw"
		size="30"
		validate="password"
		required="true"
	/>

	<field
		name="password2"
		type="password"
		label="COM_USERS_PROFILE_PASSWORD2_LABEL"
		description="COM_USERS_PROFILE_PASSWORD2_DESC"
		autocomplete="off"
		class="validate-password"
		field="password1"
		filter="raw"
		message="COM_USERS_PROFILE_PASSWORD1_MESSAGE"
		size="30"
		validate="equals"
		required="true"/>

Why this should be fixed

It should be fixed because not mapping the right things (it is like a copy and paste mistake)

How would you fix it

I would replace
label="COM_USERS_PROFILE_PASSWORD1_LABEL"
by
label="COM_USERS_REGISTER_PASSWORD1_LABEL"

and replace
label="COM_USERS_PROFILE_PASSWORD2_LABEL"
by
label="COM_USERS_REGISTER_PASSWORD2_LABEL"

It seems to have similare confusion in the rest of the form

Side Effects expected

It is confusing to amend the translation fileld (xx_XX.com_users.ini) and tune the registration form to make it more explicit.
Some users don't have the reflex to pass the mouse on the name field to display the modal and get stuck to register...it seems to be obvious but some clients don't know how to...it is the hard life UX vs client exeperience !

avatar nono1974 nono1974 - open - 21 Aug 2020
avatar joomla-cms-bot joomla-cms-bot - change - 21 Aug 2020
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 21 Aug 2020
avatar infograf768
infograf768 - comment - 22 Aug 2020
  1. There are some changes for this file in this PR (which is RTC). See #30437
  2. The constant is common to profile.xml and registration.xml. No need for 2 different constants. Only the value counts.
avatar infograf768
infograf768 - comment - 23 Aug 2020

Closing as expected in J3 as well as J4.

avatar infograf768 infograf768 - close - 23 Aug 2020
avatar infograf768 infograf768 - change - 23 Aug 2020
Status New Closed
Closed_Date 0000-00-00 00:00:00 2020-08-23 07:03:19
Closed_By infograf768

Add a Comment

Login with GitHub to post a comment