grouper-users - Re: [grouper-users] bug in 2.3.0? cannot delete group
Subject: Grouper Users - Open Discussion List
List archive
- From: Shilen Patel <>
- To: Jim Fox <>
- Cc: "" <>
- Subject: Re: [grouper-users] bug in 2.3.0? cannot delete group
- Date: Wed, 14 Feb 2018 15:42:23 +0000
- Accept-language: en-US
- Authentication-results: oit.duke.edu; spf=none
- Ironport-phdr: 9a23:5Ggg2BYbplJH4t/G+qSIGPH/LSx+4OfEezUN459isYplN5qZoMmzbnLW6fgltlLVR4KTs6sC17KP9fi4EUU7or+5+EgYd5JNUxJXwe43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6arXK99yMdFQviPgRpOOv1BpTSj8Oq3Oyu5pHfeQpFiCagbb9oMBm6sRjau9ULj4dlNqs/0AbCrGFSe+RRy2NoJFaTkAj568yt4pNt8Dletuw4+cJYXqr0Y6o3TbpDDDQ7KG81/9HktQPCTQSU+HQRVHgdnwdSDAjE6BH6WYrxsjf/u+Fg1iSWIdH6QLYpUjmk8qxlSgLniD0fOjA57m/Zl9BwgqxYrhKvpRNwzY/Ub52aOvVxZa7dYcgVRW9dUspNTSFMAIWxZJYPAeobOuZYqpHwqUYOrRu/AQmjGuXvwSJSiHDswa01zeAhGhzB0Qw7H9IOsXDUo8vzNKoJTO+10arIwivZY/xIxDj99ZHFfxY8qv+PRbJ9adfdxEkxGw/fgFics5HpMjCR2+gXrWSW4ettWfqyh2MntQ19uDaiyt0ih4TGnI4YxEjI+TtkzIs0P9G1RlB3bcS5HJZTqi2WLZV6T8wkTmp1oig10KcGtoS+fCUSyJQo2Rrfa/uffoiN+B3jVeKRLS53hHNrYb6zmgq+/VKnyu39Ssm4yktFrjdGktbSrHwCyQHc6tWfRvt8+EeuxyqP2hjO5uxEP0w4j6TWJ4Q8zrMzkpcfq1rPEyH3lUnuia+ZbEQk+uym6+T9ZbXmo4eRN5R0igH/NqQhhMq/DP8lPQgTXGiU5/6w26P+8k3kWLlKlOE5krHFsJDGIsQWvqG5AxVS0oY+8xawES2m3M0FnXkcMl1FYgmHgpPtO1HPO/D4Eey/j0q2nDdqwfDGIqPuAo/LLnfdjLftY6xx5FBBxwounphj4Md2C7RJDvXjEhv/s8zwERYiMw2yzPrgDpNw2p5ICkyVBarMC6PTtVKOrtomP+SILNsOuDf5Jv4N6+PtgDk0lUJLLvrh5ocedH3tRqcuGE6ee3e52to=
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
This is fixed in grouper_v2_3_0_api_patch_93.
- Shilen
On 2/9/18, 4:55 PM,
"
on behalf of Jim Fox"
<
on behalf of
>
wrote:
This looks like a grouper bug, relating to custom lists.
I am doing some final testing for our soon-to-happen upgrade to grouper
2.3.0. So this is on a test database.
1) have grouper 2.3.0 with patch level 92
2) copied database (postgres) to test database
3) converted the database from 26 to 30
We have some custom lists, 'authorized-senders' being one.
For a particular group I can add a member to that list in the admin ui.
That works.
However, now I cannot delete the group. Trying to results in these log
entries:
(several)
2018-02-09 13:22:16,516: [ajp-nio-127.0.0.1-8009-exec-4] INFO
EventLog.info(156) - < fox 193FE75E02962F84795D608DD9527B54.iam21-0071
0aa1b0d7f4ff440b9da54cf43cc85f26 d9459cae21d011d4abd00004ac494ffe uwpds > -
[af75960cd6104f6492b5d08773d00f8c,'GrouperSystem','application'] revoke
access priv: group='u:fox:browser6:sub7' priv='view' (92ms)
and etc for the other privs. Then:
2018-02-09 13:22:17,163: [ajp-nio-127.0.0.1-8009-exec-4] ERROR
SqlExceptionHelper.logExceptions(129) - < fox
193FE75E02962F84795D608DD9527B54.iam21-0071 0aa1b0d7f4ff440b9da54cf43cc85f26
d9459cae21d011d4abd00004ac494ffe uwpds > - Batch entry 0 delete from
grouper_groups where id='09e7861885d546b4bde6e00df413f690' and
hibernate_version_number=4 was aborted: ERROR: update or delete on table
"grouper_groups" violates foreign key constraint
"fk_memberships_group_owner_id" on table "grouper_memberships"
This is because the membership of the custom list was not deleted. If I
delete that membership then I can delete the group.
I've encountered this with both the API and the UI.
Jim
- [grouper-users] bug in 2.3.0? cannot delete group, Jim Fox, 02/09/2018
- Re: [grouper-users] bug in 2.3.0? cannot delete group, Shilen Patel, 02/14/2018
- Re: [grouper-users] bug in 2.3.0? cannot delete group, Jim Fox, 02/14/2018
- Re: [grouper-users] bug in 2.3.0? cannot delete group, Shilen Patel, 02/14/2018
Archive powered by MHonArc 2.6.19.