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

Unable to show all problem reports #348

Closed
chrisjwelly opened this issue Aug 11, 2019 · 0 comments · Fixed by #435
Closed

Unable to show all problem reports #348

chrisjwelly opened this issue Aug 11, 2019 · 0 comments · Fixed by #435
Assignees

Comments

@chrisjwelly
Copy link
Member

According to the Heroku logs:

2019-08-11T10:11:00.577919+00:00 app[web.1]: I, [2019-08-11T10:11:00.577868 #4]  INFO -- : [4730d1e0-9f2b-4177-87c5-7e535fb29067] Completed 500 Internal Server Error in 41ms (ActiveRecord: 6.8ms)

2019-08-11T10:11:00.578611+00:00 app[web.1]: F, [2019-08-11T10:11:00.578544 #4] FATAL -- : [4730d1e0-9f2b-4177-87c5-7e535fb29067]   

2019-08-11T10:11:00.578653+00:00 app[web.1]: F, [2019-08-11T10:11:00.578604 #4] FATAL -- : [4730d1e0-9f2b-4177-87c5-7e535fb29067] ActiveRecord::RecordNotFound (Couldn't find User without an ID):

2019-08-11T10:11:00.578695+00:00 app[web.1]: F, [2019-08-11T10:11:00.578649 #4] FATAL -- : [4730d1e0-9f2b-4177-87c5-7e535fb29067]   

2019-08-11T10:11:00.578751+00:00 app[web.1]: F, [2019-08-11T10:11:00.578700 #4] FATAL -- : [4730d1e0-9f2b-4177-87c5-7e535fb29067] app/views/problem_reports/index.html.erb:55:in `block in _app_views_problem_reports_index_html_erb__719772943260207905_46985992185460'

2019-08-11T10:11:00.578753+00:00 app[web.1]: [4730d1e0-9f2b-4177-87c5-7e535fb29067] app/views/problem_reports/index.html.erb:30:in `_app_views_problem_reports_index_html_erb__719772943260207905_46985992185460'

May have to have a detailed look at the Problem Report database to check what kind of users it is trying to retrieve, as I thought the nil user check in #346 would have solved all these.

Should not be a major problem for non-technical cell members as they are able to report problems normally. Tech cell members fixing some PCs may want to refer to past reports and in that case showing all problem reports would be important.

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

Successfully merging a pull request may close this issue.

2 participants