Open coriobriensfdo opened 4 years ago
**lurch: add
Tracking W-037929
Just a quick note - this appears to be src/classes/VOL_CTRL_PersonalSiteContactInfo.cls lines 259 and 273.
I'd send a PR but unfortunately can't due to situations beyond my control.
Thanks for the note @tsheldon. I see you had closed a PR you created, I'm assuming due to the need to sign the contributor agreement. Thank you regardless!
Hub Thread
Issue: When attempting to use the standard Volunteer Hours object "Comment" field within the PersonalSiteContactInfoHistory Field Set, the date of the job is displayed rather than the contents of the field.
Steps to reproduce:
In an org with V4S, including setup for Personal Sites Pages enabled, go to Setup -> Object Manager -> Volunteer Hours -> Field Sets, and open the PersonalSiteContactInfoHistory set.
Drag and drop the Comment field, and Save.
On a Volunteer Hours record, ensure the Comment field is visible. At this point it doesn't matter if there is any text in the comment field or not.
Using the Preview feature for the Volunteer Email Personal Sites Lookup template (or another method), access the personal site for the Contact and view the "Your Recent Volunteer History" section.
Expected: The Comment field column should show the values entered in the Volunteer Hours record, or blank. Actual Result: The Date of the Job is being displayed. (As shown above).
Note that the issue appears to only be occurring on the actual Comment field, and doesn't appear to relate to the type of field. The standard Comment field is Long Text Area, but creating a custom Long Text Area field works as expected.
Workaround: To get around this, you can create a custom Comment field in either Text, Long Text Area, or Rich Text. Ensure the Site Guest User has Edit and Read permissions on those fields, and add to Field Set. These will display properly on the site page, showing either empty or the values correctly.