Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Personal Site "Your Recent Volunteer History" Cannot use Standard Comment Field #466

Open
coriobriensfdo opened this issue Dec 3, 2019 · 4 comments

Comments

@coriobriensfdo
Copy link

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.
Screen Shot 2019-12-03 at 10 39 13 AM

Steps to reproduce:

  1. 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.

  2. Drag and drop the Comment field, and Save.

  3. 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.
    Screen Shot 2019-12-03 at 10 40 06 AM

  4. 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.

  5. 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.
Screen Shot 2019-12-03 at 10 54 12 AM

Screen Shot 2019-12-03 at 10 54 23 AM

@coriobriensfdo
Copy link
Author

**lurch: add

@LurchTheButler
Copy link

Tracking W-037929

@tsheldon
Copy link

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.

@coriobriensfdo
Copy link
Author

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants