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()
FieldsHelper::prepareForm() should be called once on user profile form display.
Called twice
I guess frontend UsersModelProfile::getForm() should not call FieldsHelper::prepareForm() because it's already applied via PlgSystemFields.
| Labels |
Added:
?
|
||
| Category | ⇒ | com_users |
| Status | New | ⇒ | Information Required |
this concerns forms , it should be a different issue
| Status | Information Required | ⇒ | Discussion |
| Status | Discussion | ⇒ | Closed |
| Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-10-03 16:05:46 |
| Closed_By | ⇒ | franz-wohlkoenig |
Set to "closed" on behalf of @franz-wohlkoenig by The JTracker Application at issues.joomla.org/joomla-cms/18065
closed as having Pull Request #18065
can you please look if #18016 is similar?