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

Project list widget throws an internal server error #1923

Closed
KasperBrandt opened this issue Nov 20, 2015 · 0 comments
Closed

Project list widget throws an internal server error #1923

KasperBrandt opened this issue Nov 20, 2015 · 0 comments
Assignees
Milestone

Comments

@KasperBrandt
Copy link
Contributor

Test plan

GIVEN the 'Grab a widget' page

WHEN a project has no partners
THEN the project list and project map options should not be available

WHEN a project has partners
THEN all widgets should be available and not display an error

Issue description

The project list widget gives an internal server error. And the map widget as well: http://sentry.support.akvo-ops.org/rsr/live/group/727/. This is due to the fact that they don't have a reporting organisation and the map and project listing widgets expect an organisation as an input.

The reporting organisation here should be changed to the project's primary organisation, and we should create a 404 exception when the project has no partners at all, just in case.

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

No branches or pull requests

2 participants