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

AttributeError: 'Project' object has no attribute 'project' #5230

Closed
sentryliqd bot opened this issue Sep 11, 2023 · 3 comments
Closed

AttributeError: 'Project' object has no attribute 'project' #5230

sentryliqd bot opened this issue Sep 11, 2023 · 3 comments
Assignees
Labels
Type: Bug incorrect or uexpected behaviour

Comments

@sentryliqd
Copy link

sentryliqd bot commented Sep 11, 2023

Sentry Issue: MEINBERLIN-DEV-8C

AttributeError: 'Project' object has no attribute 'project'
(8 additional frame(s) were not displayed)
...
  File "meinberlin/apps/mapideas/views.py", line 49, in dispatch
    return super().dispatch(request, **kwargs)
@goapunk
Copy link
Contributor

goapunk commented Sep 11, 2023

Modules which are marked as draft in a multimodule project for some reason don't seem to have the project property set. We probably need to add a check to test if the project is set or the module is is_draft here https://github.com/liqd/adhocracy4/blob/main/adhocracy4/projects/models.py#L159

@sentryliqd
Copy link
Author

sentryliqd bot commented Sep 18, 2023

Sentry issue: MEINBERLIN-PROD-5A

@goapunk
Copy link
Contributor

goapunk commented Feb 6, 2024

fixed by liqd/adhocracy4#1525

@goapunk goapunk assigned goapunk and unassigned m4ra Feb 6, 2024
@goapunk goapunk closed this as completed Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug incorrect or uexpected behaviour
Projects
None yet
Development

No branches or pull requests

4 participants