J4 Issue ?
avatar drmenzelit
drmenzelit
11 May 2021

Steps to reproduce the issue

  • Activate user profile
  • Create a contact
  • Set display user profile
  • Create a custom field in users
  • Let the field empty in the user's profile
  • Create a contact menu item

Expected result

Contact data are displayed, including user profile. No custom fields, because no value was entered in user profile

Actual result

Contact data are displayed, including user profile. A <h3> title "Fields" is displayed in the user profile part of the contact although the field is empty

grafik

The title is generated in com_contact\tmpl\contact\default_user_custom_fields.php line 37
It looks for existent userFieldGroups but not if the fields are filled.

System information (as much as possible)

Joomla ‎4.0.0-beta8-dev

Additional comments

avatar drmenzelit drmenzelit - open - 11 May 2021
avatar joomla-cms-bot joomla-cms-bot - change - 11 May 2021
Labels Added: J4 Issue ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 11 May 2021
avatar drmenzelit drmenzelit - change - 12 May 2021
Status New Closed
Closed_Date 0000-00-00 00:00:00 2021-05-12 10:44:02
Closed_By drmenzelit
avatar drmenzelit
drmenzelit - comment - 12 May 2021

Closing as we have a PR #33818

avatar drmenzelit drmenzelit - close - 12 May 2021

Add a Comment

Login with GitHub to post a comment