hypothesis / hypothesis/h

AttributeError: 'NoneType' object has no attribute 'pubid' on `admin/groups`

Open
#5,642 0 comments 0 reactions 0 assignees View on GitHub
bug S4 Sentry 💥
Dominant language
Python
Stars
3.2k
Forks
459
Avg merge
27d 1h
Merged PRs (30d)
1

Description

https://sentry.io/organizations/hypothesis/issues/1071050977/?project=37293&referrer=slack

The admin-edit-group page is not meant to be used to edit private groups (and I don't believe links exist for private groups that go to this page), but we should fix the `admin-groups` page such that it doesn't throw a server error if it's hit for a private group.

The error is raised because the view assumes the presence of an organization for the group in question. Private groups do not belong to organizations.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the admin-groups page for a private group and inspect the view handling that page, focusing on its assumption that the group has an organization. Done means the page no longer raises a server error when opened for a private group.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.