?
avatar MATsxm
MATsxm
21 Mar 2016

Steps to reproduce the issue

first apply #9493 to forbid a dob in the future while the User registration.
enable the plugin: User - Profile
and set date of birth as Required

  • Try to register a new user on backend with a dob in the future
  • Try to register a new user on frontend with a dob in the future

Expected result

Having for both cases (backend and frontend) the same error message.

Actual result

Error messages are different if you register a new user on frontend or backend.
On backend we have an Error class="alert alert-error"
and on frontend we have a Warning class="alert".
Backend
screen shot 2016-03-21 at 07 27 10
Frontend
screen shot 2016-03-21 at 07 27 37

System information (as much as possible)

3.5.0-rc4 WITH #9493 applied

Additional comments

avatar MATsxm MATsxm - open - 21 Mar 2016
avatar brianteeman brianteeman - change - 21 Mar 2016
Status New Confirmed
avatar alikon
alikon - comment - 21 Mar 2016

I can confirm
...should be handled better from js side ?...

avatar brianteeman brianteeman - change - 22 Mar 2016
Category Language & Strings Plugins
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 29 Jan 2017

Issue persist on 3.7-staging.

avatar GeraintEdwards
GeraintEdwards - comment - 3 Jun 2017

Still persists on 3.7.3-staging.

In the frontend and backend if the passwords don't match you get a 'red' error message so it would seem that to be consistent we should use an 'error' message in the frontend as opposed to a 'warning'.

If this is agreed then change line 177 of components/com_users/controllers/registration.php to read

`$this->setMessage($model->getError(), 'error');

@nibra - please review in a week to decide course of action

avatar franz-wohlkoenig franz-wohlkoenig - change - 8 Nov 2017
The description was changed
Status Confirmed Needs Review
avatar joomla-cms-bot joomla-cms-bot - edited - 8 Nov 2017
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 8 Nov 2017

Status is set on "Needs Review".

avatar rdeutz rdeutz - change - 13 Nov 2017
Status Needs Review Pending
avatar rdeutz
rdeutz - comment - 13 Nov 2017

Let us use error in back and frontend, back to pending

avatar brianteeman
brianteeman - comment - 22 Dec 2017

closed see #19142

avatar brianteeman brianteeman - change - 22 Dec 2017
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2017-12-22 22:35:50
Closed_By brianteeman
avatar brianteeman brianteeman - close - 22 Dec 2017

Add a Comment

Login with GitHub to post a comment