?
avatar blanderson22
blanderson22
20 Mar 2017

Steps to reproduce the issue

Enable profile plugin. set fields to required for site and admin edit. We used Phone, Company, and website in our test.

Expected result

Profile plugin fields are required during admin edit.

Actual result

Can save profile during admin edit while profile plugin fields are empty.

System information (as much as possible)

Joomla 3.6.5

Additional comments

Votes

# of Users Experiencing Issue
1/1
Average Importance Score
4.00

avatar blanderson22 blanderson22 - open - 20 Mar 2017
avatar joomla-cms-bot joomla-cms-bot - labeled - 20 Mar 2017
avatar Fedik
Fedik - comment - 20 Mar 2017

I can confirm, it is broken in 3.6.5, but works fine in 3.7(dev)

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 3 Apr 2017

In 3.6.5 and 3.7-staging (nightly build):

  • Set "Phone" as "Required" on "registration and administrator user forms" and "User profile fields for profile edit form"
  • let "Phone" empty
  • user Profile is saved.
avatar franz-wohlkoenig franz-wohlkoenig - change - 3 Apr 2017
Category Plugins com_users Plugins
avatar franz-wohlkoenig franz-wohlkoenig - change - 3 Apr 2017
Status New Confirmed
avatar zero-24
zero-24 - comment - 3 Apr 2017

See: https://docs.joomla.org/J3.x:Update_from_3.6.x_to_3.6.5_Profile_fields altest this should fix the frontend error

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 3 Apr 2017

thanks for Info, @zero-24, should i open a new Issue about same Behaviour in 3.7?

avatar joomla-cms-bot joomla-cms-bot - close - 3 Apr 2017
avatar joomla-cms-bot
joomla-cms-bot - comment - 3 Apr 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 3 Apr 2017
Status Confirmed Known Issue
Closed_Date 0000-00-00 00:00:00 2017-04-03 09:22:24
Closed_By franz-wohlkoenig
avatar zero-24
zero-24 - comment - 3 Apr 2017

If this is still a issue in 3.7 the FAQ thing i linked is not the right fix. Maybe @blanderson22 can confirm if that fixes the problem or not?

avatar franz-wohlkoenig franz-wohlkoenig - change - 3 Apr 2017
Status Known Issue Confirmed
Closed_Date 2017-04-03 09:22:24
Closed_By franz-wohlkoenig
avatar joomla-cms-bot joomla-cms-bot - reopen - 3 Apr 2017
avatar joomla-cms-bot
joomla-cms-bot - comment - 3 Apr 2017
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 3 Apr 2017

@zero-24 tested on 3.6.5 and 3.7: FAQ thing linked doesn't fix Problem.

avatar Fedik
Fedik - comment - 3 Apr 2017

Last time when I tried to debug this thing (for 3.6.5), the problem was that onContentPrepareForm called twice (for User plugins) in some reason

avatar Fedik
Fedik - comment - 3 Apr 2017

hm, I just tested on the Staging branch, and all works fine, I cannot save an empty value in a required field

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 3 Apr 2017

Field "Phone" is set required:
bildschirmfoto 2017-04-03 um 20 08 16

avatar Fedik
Fedik - comment - 3 Apr 2017

@franz-wohlkoenig ah you about the backend, I tested frontend only ?

avatar franz-wohlkoenig franz-wohlkoenig - change - 4 Apr 2017
Category Plugins com_users Authentication com_users Plugins
avatar franz-wohlkoenig franz-wohlkoenig - change - 4 Apr 2017
Category Plugins com_users Authentication com_users Plugins
avatar franz-wohlkoenig franz-wohlkoenig - change - 8 Nov 2017
Status Confirmed Discussion
avatar joomla-cms-bot joomla-cms-bot - change - 23 Dec 2017
Closed_By franz-wohlkoenig joomla-cms-bot
avatar joomla-cms-bot joomla-cms-bot - close - 23 Dec 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 23 Dec 2017
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2017-12-23 06:56:09
Closed_By franz-wohlkoenig
avatar joomla-cms-bot
joomla-cms-bot - comment - 23 Dec 2017
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 23 Dec 2017

closed as having Pull Request #19141

Add a Comment

Login with GitHub to post a comment