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

Adding a duplicate Group Membership Status throws an error #1163

Open
jefft opened this issue Feb 11, 2025 · 1 comment · May be fixed by #1175
Open

Adding a duplicate Group Membership Status throws an error #1163

jefft opened this issue Feb 11, 2025 · 1 comment · May be fixed by #1175

Comments

@jefft
Copy link
Contributor

jefft commented Feb 11, 2025

In Jethro, every group member has a membership 'status', from a list of available Group Membership Status Options configured under Admin -> System Configuration.

If a value is accidentally duplicated, as 'None' is in this example:

Image

then on saving, Jethro blows up with an error:

PHP message: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'None' for key 'label' - Line 383 of /srv/www/jethro/2.36.0/app/views/view_10_admin__6_system_configuration.class.php

By contrast, duplicating Person Status results in a decent error message:

Image

@radarhere
Copy link
Contributor

I've created #1175

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

Successfully merging a pull request may close this issue.

3 participants