In components/com_contact/models/contact.php line 434 a JForm object is created and then send through the form plugin events. If a plugin properly reacts to the context given to the JForm object, namely 'com_users.profile', and tries to edit the XML via removeField() for example, the page crashes with a 500 error, because the JForm object never loaded any XML.
I'm wondering what this code is actually any good for, since it will definitely filter out any data from the user, except for the stuff that is added in in addition to the default data. Considering the amount of additional code that is being executed for this feature, I strongly suggest to drop it. I guess, no one ever used this code and it has been in the system like this for at least 4 years.
Category | ⇒ | Administration Components |
Labels |
Added:
?
|
Status | New | ⇒ | Information Required |
I will provide a PR.
and please keep this open to remind me that I write one.
Thank you for reminding me. I will look into this in the next 2 weeks. For future-me: If you did not provide a PR for this until June 4th 2017, this will be closed.
Entry on my Calendar for 5th June.
Status | Information Required | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-06-03 07:44:08 |
Closed_By | ⇒ | Hackwar |
@hackwar as no one has replied to you in a long time on this I guess no one has a clue what it does either. We can either close this issue and move along or you can submit a PR to address the issue you ave identified. If no response is received then we will close this in a few weeks.
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/8120.