ERROR namespace_project_design_management_design_url
Steps to reproduce
- create issue
- add designs
- comment design
- delete design
- back to dashboard
Demo
- error dashboard https://gitlab.com/d.weizhe1
- issue https://gitlab.com/d.weizhe1/test-design/-/issues/1
Error log
{
"method": "GET",
"path": "/dashboard/activity",
"format": "json",
"controller": "DashboardController",
"action": "activity",
"status": 500,
"duration": 1585.71,
"view": 0,
"db": 89.87,
"time": "2020-03-23T01:35:43.130Z",
"params": [
{
"key": "limit",
"value": "20"
},
{
"key": "offset",
"value": "0"
}
],
"remote_ip": "192.168.0.202",
"user_id": 1,
"username": "dweizhe",
"ua": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36",
"queue_duration": null,
"correlation_id": "OX3TBjatwu7",
"cpu_s": 1.472583929999999,
"exception.class": "ActionView::Template::Error",
"exception.message": "undefined method `namespace_project_design_management_design_url' for #<#<Class:0x00007fde2ddf72e0>:0x00007fde2a7e9c20>\nDid you mean? namespace_project_design_management_designs_raw_image_url",
"exception.backtrace": [
"app/helpers/events_helper.rb:169:in `event_note_target_url'",
"ee/app/helpers/ee/events_helper.rb:12:in `event_note_target_url'",
"app/helpers/events_helper.rb:179:in `block in event_note_title_html'",
"app/helpers/events_helper.rb:177:in `event_note_title_html'",
"app/views/events/event/_note.html.haml:9",
"app/views/events/_event.html.haml:13",
"app/views/events/_events.html.haml:10",
"app/controllers/application_controller.rb:328:in `pager_json'",
"app/controllers/dashboard_controller.rb:22:in `block (2 levels) in activity'",
"app/controllers/dashboard_controller.rb:17:in `activity'",
"ee/lib/gitlab/ip_address_state.rb:10:in `with'",
"ee/app/controllers/ee/application_controller.rb:43:in `set_current_ip_address'",
"app/controllers/application_controller.rb:479:in `set_current_admin'",
"lib/gitlab/session.rb:11:in `with_session'",
"app/controllers/application_controller.rb:470:in `set_session_storage'",
"app/controllers/application_controller.rb:464:in `set_locale'",
"lib/gitlab/error_tracking.rb:34:in `with_context'",
"app/controllers/application_controller.rb:555:in `sentry_context'",
"lib/gitlab/application_context.rb:46:in `block in use'",
"lib/gitlab/application_context.rb:46:in `use'",
"lib/gitlab/application_context.rb:19:in `with_context'",
"app/controllers/application_controller.rb:455:in `set_current_context'",
"ee/lib/gitlab/jira/middleware.rb:19:in `call'"
]
}
Edited by Luke Duncalfe