?
avatar Denitz
Denitz
22 Sep 2017

Steps to reproduce the issue

debug FieldsHelper::prepareForm() and see that it's launched twice in frontend:

Initially via PlgSystemFields->onContentPrepareForm event and see that it's launched twice in frontend.

Next FieldsHelper::prepareForm() is called again via UsersModelProfile::getForm()

Expected result

FieldsHelper::prepareForm() should be called once on user profile form display.

Actual result

Called twice

Additional comments

I guess frontend UsersModelProfile::getForm() should not call FieldsHelper::prepareForm() because it's already applied via PlgSystemFields.

avatar Denitz Denitz - open - 22 Sep 2017
avatar joomla-cms-bot joomla-cms-bot - change - 22 Sep 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 22 Sep 2017
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 22 Sep 2017

can you please look if #18016 is similar?

avatar franz-wohlkoenig franz-wohlkoenig - change - 22 Sep 2017
Category com_users
avatar franz-wohlkoenig franz-wohlkoenig - change - 22 Sep 2017
Status New Information Required
avatar ggppdk
ggppdk - comment - 22 Sep 2017

@franz-wohlkoenig

this concerns forms , it should be a different issue

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 22 Sep 2017

@ggppdk thanks for Info.

avatar franz-wohlkoenig franz-wohlkoenig - change - 30 Sep 2017
Status Information Required Discussion
avatar joomla-cms-bot joomla-cms-bot - close - 3 Oct 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 3 Oct 2017
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2017-10-03 16:05:46
Closed_By franz-wohlkoenig
avatar joomla-cms-bot
joomla-cms-bot - comment - 3 Oct 2017
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 3 Oct 2017

closed as having Pull Request #18065


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

avatar Denitz Denitz - change - 3 Oct 2017
The description was changed
avatar Denitz Denitz - edited - 3 Oct 2017

Add a Comment

Login with GitHub to post a comment