Skip to content

GitLab

  • Menu
    • Projects Groups Snippets
      Help
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #510

Closed
Open
Created 13 years ago by Administrator@rootOwner
  • New issue

  • Report abuse

  • New issue

  • Report abuse

Removing merge request breaks application

Closed

Removing merge request breaks application

Created by: corpix

I'm on bc6915f2 commit After removing merge request application falls down with 500 error Tail of production.log:

    Started GET "/" for 127.0.0.1 at 2012-03-05 02:44:56 +0400
    Processing by DashboardController#index as HTML
      Rendered dashboard/_projects_feed.html.haml (6.5ms)
      Rendered dashboard/_issues_feed.html.haml (8.9ms)
      Rendered events/_event_new_merge_request.html.haml (1.5ms)
      Rendered events/_event.html.haml (1.8ms)
      Rendered dashboard/_events_feed.html.haml (3.9ms)
      Rendered dashboard/index.html.haml within layouts/application (37.1ms)
    Completed 500 Internal Server Error in 69ms

    ActionView::Template::Error (undefined method `author' for nil:NilClass):
        1: = image_tag gravatar_icon(event.author_email), :class => "avatar"
        2: %strong #{event.author_name} 
        3: requested merge  
        4: = link_to project_merge_request_path(event.project, event.merge_request) do
      app/models/event.rb:75:in `author'
      app/models/event.rb:84:in `author_email'
      app/views/events/_event_new_merge_request.html.haml:1:in `_app_views_events__event_new_merge_request_html_haml___268055337_111901870'
      app/views/events/_event.html.haml:7:in `_app_views_events__event_html_haml___371861051_106017640'
      app/views/dashboard/_events_feed.html.haml:1:in `_app_views_dashboard__events_feed_html_haml__877476725_88868400'
      app/views/dashboard/index.html.haml:68:in `_app_views_dashboard_index_html_haml___166222954_105941080'

Temporary solved this by removing information about merge request by hands from database events table

Linked issues
0


  • Administrator
    Administrator @root · 13 years ago
    Owner

    Created by: dubcanada

    Well you shouldn't really be removing stuff from the database, and if you do you need to remov everything.

    I don't think this is something to be fixed.

    By Administrator on 2012-03-16T02:47:39 (imported from GitLab project)

  • Administrator
    Administrator @root · 13 years ago
    Owner

    Created by: corpix

    @dubcanada but it solved the problem :)

    By Administrator on 2012-03-16T04:47:55 (imported from GitLab project)

  • You're only seeing other activity in the feed. To add a comment, switch to one of the following options.
Please register or sign in to reply
0 Assignees
None
Assign to
Milestone
No milestone
None
None
Time tracking
No estimate or time spent
Due date
None
None
0
Labels
None
Assign labels
  • No matching results
  • Manage project labels
Confidentiality
Not confidential
Not confidential

You are going to turn on confidentiality. Only team members with at least Reporter access will be able to see and leave comments on the issue.

Lock issue
Unlocked
1
1 participant
user avatar
Reference: gpt/large_projects/gitlabhq1#510

Menu

Projects Groups Snippets
Help