Skip to content

GitLab

  • Menu
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
  • #1002

Closed
Open
Created Jun 28, 2012 by Administrator@rootOwner

Closing an issue interferes with new labels and renders them unusable

Created by: jk

I just closed an issue in one project. And after that I can't open the issue page of that specific project.

From the production.log:

Started PUT "/scm-irc-hookbot/issues/6?issue%5Bclosed%5D=true&status_only=true" for 192.168.111.60 at 2012-06-28 11:52:57 +0200
Processing by IssuesController#update as HTML
  Parameters: {"authenticity_token"=>"EOIv7w+oQTEAECzYNpyJSBMFcoIxUFb7l48VPhJfUb4=", "issue"=>{"closed"=>"true"}, "status_only"=>"true", "project_id"=>"scm-irc-hookbot", "id"=>"6"}
Redirected to https://v2.dev1.hh.lan/scm-irc-hookbot/issues/6
Completed 302 Found in 230ms (ActiveRecord: 103.7ms)


Started GET "/scm-irc-hookbot/issues/6" for 192.168.111.60 at 2012-06-28 11:52:58 +0200
Processing by IssuesController#show as HTML
  Parameters: {"project_id"=>"scm-irc-hookbot", "id"=>"6"}
  Rendered issues/show.html.haml within layouts/project (39.5ms)
Completed 500 Internal Server Error in 58ms

ActionView::Template::Error (undefined method `labels' for #<Issue:0x0000000562ac00>):
    51:           = truncate(milestone.title, :length => 20)
    52: 
    53:     .right
    54:       - @issue.labels.each do |label|
    55:         %span.label.label-issue
    56:           %i.icon-tag
    57:           = label.name
  app/views/issues/show.html.haml:54:in `_app_views_issues_show_html_haml__3659395710640092311_41122620'
  app/controllers/issues_controller.rb:49:in `show'
Assignee
Assign to
Time tracking