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

Sign-Up Register Group Mode lists people more than once if they have more than one role in the group #5675

Closed
2 tasks done
leahjennings opened this issue Nov 14, 2023 · 0 comments
Labels
Fixed in v16.1 Status: Confirmed It's clear what the subject of the issue is about, and what the resolution should be. Type: Bug Confirmed bugs or reports that are very likely to be bugs.

Comments

@leahjennings
Copy link
Collaborator

Description

When a Sign-Up Register block is configured for group mode, it lists each Group Member record instead of each person represented by those records. We will add a person to a group a second time with an additional role to represent whether or not they are fulfilling other duties (like Scheduling for example).
image

This makes it very confusing for the person who is registering their group. Do they check both boxes? Only one?

Actual Behavior

The block will list each group member record, even listing some people more than once if they have more than one group member record.

Expected Behavior

I would expect this block to behave similarly to a dataview, where it shows each person only once, regardless of how many gropu member records they have.

Steps to Reproduce

  • On the demo site, go to People > Sign-Ups
  • Create a new sign-up group
image
  • Create an opportunity on the group you just created and fill in a schedule in the future
image
  • In a new tab, go to the Sign-Up Register page
  • Edit the page and add the following route: signups/register/{ProjectId}/location/{LocationId}/schedule/{ScheduleId}/group/{GroupId}
image
  • Edit the block and change the mode to Group
image
  • On the first tab, go to People > Group Viewer
  • Click on the Ushers team and add Ted Decker to the group as a Leader
  • Ted Decker should now be listed in the Ushers group twice
image
  • Add Alisha Admin to the group, too (so you can see the register screen for this group, only group members are able to register for their group)

  • Edit the Group Member List block

  • Click on Custom Grid Options

  • Add a new column (this is to get the group's ID Key) and use this Lava: {{ Row.Group.IdKey }}

image
  • Copy the Id Key that now shows in the rows
image
  • In the second tab, click in the breadcumbs to go to the Sign-Ups Finder
  • Click Register on the project listed that you created earlier
  • Edit the URl and append /group/[IDKEY] to the end, where IDKEY is the key copied from the group member table earlier
image

Notice how Ted Decker is listed twice.

Issue Confirmation

  • Perform a search on the Github Issues to see if your bug or enhancement is already reported.
  • Try to reproduce the problem on a fresh install or on the demo site.

Rock Version

Rock McKinley 15.1 (1.15.1.1), 16.0 (1.16.0.12)

Client Culture Setting

en-US

@sparkdevnetwork-service sparkdevnetwork-service added Status: Confirmed It's clear what the subject of the issue is about, and what the resolution should be. Type: Bug Confirmed bugs or reports that are very likely to be bugs. labels Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fixed in v16.1 Status: Confirmed It's clear what the subject of the issue is about, and what the resolution should be. Type: Bug Confirmed bugs or reports that are very likely to be bugs.
Projects
None yet
Development

No branches or pull requests

3 participants