paleobot / pbot-dev

Codebase and initial design documents for pbot client
MIT License
2 stars 2 forks source link

Can't delete group "PBot Leaf Anatomy Working Group" due to blocking relationships #177

Closed clairecleveland closed 1 month ago

clairecleveland commented 1 year ago

Trying to delete this but appears to be linked to something. We can't figure out what it is linked to because all of the old data it could have been linked to was deleted. Double checked the things just entered and no links there.

NoisyFlowers commented 1 year ago

That Group still has five members. MEMBER_OF is a blocking relationship. This in itself is by design and not a bug. It can also be changed.

There is a bug, however. You can only remove four of the members via Group edit. The fifth, the person doing the editing, cannot be removed. Thus, the Group, or any Group really, can not be deleted.

Any fix for this will be too hairy to tackle until after Hackathon

clairecleveland commented 1 year ago

Yes we tried removing all the members allowed and deleting it, but as you said we can’t delete the creator so it failed. I don’t think it will cause issues next week. Hopefully people will only create one or two truly needed groups each.

On Wed, Aug 2, 2023 at 6:32 PM NoisyFlowers @.***> wrote:

That Group still has five members. MEMBER_OF is a blocking relationship. This in itself is by design and not a bug. It can also be changed.

There is a bug, however. You can only remove four of the members via Group edit. The fifth, the person doing the editing, cannot be removed. Thus, the Group, or any Group really, can not be deleted.

Any fix for this will be too hairy to tackle until after Hackathon

— Reply to this email directly, view it on GitHub https://github.com/paleobot/pbot-dev/issues/177#issuecomment-1663056399, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARLULEC7CCU7GUU3WYFYESDXTLIOHANCNFSM6AAAAAA3BXR2JU . You are receiving this because you were assigned.Message ID: @.***>

NoisyFlowers commented 8 months ago

This was fixed in paleobot/pbot-api@6245cf053b26ef12ccbc69d4c13b83b6cdf40228, back in late August.

Please verify that you can delete that group and I'll close this