Create a User custom field.
Then when editing the user in back-end, a new tab is present with the new field. (122 here is the user id)
index.php?option=com_users&view=user&layout=edit&id=122
That is fine. Frontend is also fine.
Now edit your own profile in backend (Edit Account menu item top right)
index.php?option=com_admin&view=profile&layout=edit&id=122
The new tab and Custom field should display. At least it is my expectation.
What do you think?
Labels |
Added:
?
|
Category | ⇒ | com_fields |
Is there any reason why this view is loaded by com_admin and not com_users? That's the issue here as we are editing a user in a different component, so the events are loaded with a totally different context.
Wow, didn't even notice that.
Imho, that should move to com_users. The model already extends from a user model anyway.
I can create a pr, so it would be ok for the 3 series to move it to com_users, no BC issue here?
Theoretically there are no B/C issues, practically there most likely will be.
I would copy the code from com_admin to com_users, change the links but still leave the profile view working (but deprecated) in com_admin as well. Possibly by extending the new classes in com_users to avoid duplicate code where possible.
So we are not the first ones with this issue. Looks like nikolas has it investigated extensively. If we can leave it as it is would be nice as I'm basically running out of time to do it.
I'd leave the issue open but it is certainly not a release blocker and could be done later.
Status | New | ⇒ | Confirmed |
Category | com_fields | ⇒ | com_fields com_users |
I can confirm the problem on Joomla! 3.7.1-dev (nightly Build)
This problem will not be fixed in 3.7.1.
Yes exactly.
Status | Confirmed | ⇒ | Discussion |
Labels |
Added:
J3 Issue
|
We will address this issue in the Enhance User GsoC 2018 project. Please leave it open.
Status | Discussion | ⇒ | Information Required |
No as we didn't came that far as it was planed.
Status | Information Required | ⇒ | Discussion |
This is resolved for J4
This is resolved for J4
@brianteeman Does this mean to close the Issue?
Status | Discussion | ⇒ | Confirmed |
Status | Confirmed | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-06-06 00:43:30 |
Closed_By | ⇒ | Quy |
Status | Closed | ⇒ | New |
Closed_Date | 2020-06-06 00:43:30 | ⇒ | |
Closed_By | Quy | ⇒ |
This is fixed in #29251 for 4.0 but I can see now it's not the correct solution. Shame I realize this after beta was released. Joomla\CMS\Fields\FieldsServiceInterface::validateSection()
should have been changed or replaced to allow properly mapping contexts, not just sections.
As an alternative we could also use com_users.user
or com_users.profile
context in com_admin
but this would break plugins that are meant to run on these contexts but not on com_admin.profile
and vice versa.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2022-06-28 07:50:21 |
Closed_By | ⇒ | infograf768 | |
Labels |
Added:
No Code Attached Yet
Removed: ? |
Confirming the bug.
Profile edit works in frontend but not in backend.