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

Group Requirements with Age Classification not working Correctly #5393

Closed
1 task done
azturner opened this issue Apr 13, 2023 · 2 comments
Closed
1 task done

Group Requirements with Age Classification not working Correctly #5393

azturner opened this issue Apr 13, 2023 · 2 comments

Comments

@azturner
Copy link
Contributor

azturner commented Apr 13, 2023

Please go through all the tasks below

  • Check this box only after you have successfully completed both the above tasks

Please provide a brief description of the problem. Please do not forget to attach the relevant screenshots from your side.

When adding a group requirement and setting the "Applies to Age Classification" setting to Adults, rather than NOT applying the requirement to children, Rock is assuming all children do not meet the requirement (even if some do).

image

image

If requirement is configured to not allow members be added if they don't meet the requirement, no child can be added to the group even if they do meet the requirement. In this example, Alex is female (she meets the requirement), but still cannot be added to the group:

image

The "Requirements" view on group member page, seems to work correctly though:

image

Expected Behavior

When a requirement is configured to only apply to adults, it should not be applied to children

Actual Behavior

Rock assumes all children do not meet the requirement

Steps to Reproduce

  • Create a Person data view that only includes people with gender of Female
  • Create group requirement type based on this data view
  • Add this requirement to a group and configure it to only apply to Adults
  • Try to add any child
  • You will notice warning that person does not meet the requirement (even if the child is female)

Rock Version

14.2

Client Culture Setting

en-US

@karenn-ccbc
Copy link

Thank you-- I just noticed this issue!

@azturner
Copy link
Contributor Author

FTR, this does not appear to be completely fixed in v14.3 (it is in v15.0 so didn't open new issue). While the Requirements tab now correctly does not show a requirement, it still shows red triangle on the Members tab indicating the person does not meet requirements even though requirement does not apply to them.

In this example "Baptized" only applies to "Adults" and Sam is a child so should not apply to him:

image
image

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

No branches or pull requests

4 participants