Details
-
Type: Sub-task
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.4.0
-
Fix Version/s: None
-
Component/s: CiviCRM Profile, CiviHR
-
Labels:None
Description
When using org.civicrm.hrident (or similar custom-data-based extension), one adds a tab to the "View Contact" page which is based on a profile-form's data-table. If the table is empty, it displays this message:
"No multi-record entries found. Note: check is Include in multi-record listing property of the fields you want to display in listings"
In this scenario, it's normal & expected that a contact has an empty list, and the phrase "multi-record entries" is weird.
Preferred solution:
1. Change the generic error to something like 'No records of type "%1" found.' (%1 is the displayable name of the custom-data group). Example: 'No records of type 'Medical & Disability' found.'
If there's some significant problem with that solution, then we can consider alternatives like:
2. Allow each profile form to define its own error message.
3. Allow a hook to decide the error message.