Malformed issue after import.

4 views
Skip to first unread message

Iv4n

unread,
Jul 17, 2017, 8:33:04 AM7/17/17
to GitLab
Hi,

I imported some Trac tickets (per RPC) to Gitlab(9.3.5). These issues in gitlab, were malformed.

Could someone point me in which column is wrong ?!

Started GET "/root/dbatez/issues" for 172.16.20.21 at 2017-07-17 09:23:55 -0300
Processing by Projects::IssuesController#index as HTML
  Parameters: {"namespace_id"=>"root", "project_id"=>"dbatez"}
Completed 500 Internal Server Error in 127ms (ActiveRecord: 18.2ms)
ActionView::Template::Error (No route matches {:action=>"show", :controller=>"projects/issues", :id=>#<Issue id: 292, title: "Migração Folha de Pagamento - Aumentar o tamanho d...", assignee_id: 24, author_id: 24, project_id: 1, created_at: "2017-07-14 11:45:04", updated_at: "2017-07-14 12:57:24", position: 0, branch_name: nil, description: "1.Aumentar o Tamanho da Matricula na folha de 6 pa...", milestone_id: nil, state: "opened", iid: nil, updated_by_id: nil, confidential: false, deleted_at: nil, due_date: nil, moved_to_id: nil, lock_version: nil, title_html: nil, description_html: nil, time_estimate: 0, relative_position: nil, closed_at: nil, cached_markdown_version: nil, last_edited_at: nil, last_edited_by_id: nil>, :namespace_id=>#<Namespace id: 1, name: "root", path: "root", owner_id: 1, created_at: "2017-07-14 18:28:17", updated_at: "2017-07-14 18:28:17", type: nil, description: "", avatar: nil, share_with_group_lock: false, visibility_level: 20, request_access_enabled: false, deleted_at: nil, description_html: "", lfs_enabled: nil, parent_id: nil, require_two_factor_authentication: false, two_factor_grace_period: 48, cached_markdown_version: 1>, :project_id=>#<Project id: 1, name: "dbatez", path: "dbatez", description: "", created_at: "2017-07-14 19:26:26", updated_at: "2017-07-14 19:26:26", creator_id: 1, namespace_id: 1, last_activity_at: "2017-07-17 12:16:43", import_url: nil, visibility_level: 0, archived: false, avatar: nil, import_status: "none", star_count: 0, import_type: nil, import_source: nil, import_error: nil, ci_id: nil, shared_runners_enabled: true, runners_token: "zpD_z47R8eLyH2w1b4WF", build_coverage_regex: nil, build_allow_git_fetch: true, build_timeout: 3600, pending_delete: false, public_builds: true, last_repository_check_failed: false, last_repository_check_at: "2017-07-17 02:20:21", container_registry_enabled: true, only_allow_merge_if_pipeline_succeeds: false, has_external_issue_tracker: false, repository_storage: "default", request_access_enabled: false, has_external_wiki: false, lfs_enabled: nil, description_html: "", only_allow_merge_if_all_discussions_are_resolved: false, printing_merge_request_link_enabled: true, auto_cancel_pending_pipelines: 1, import_jid: nil, cached_markdown_version: 1, last_repository_updated_at: "2017-07-14 19:26:26">} missing required keys: [:id]):
    1: %li{ id: dom_id(issue), class: issue_css_classes(issue), url: issue_path(issue), data: { labels: issue.label_ids, id: issue.id } }
    2:   .issue-box
    3:     - if @can_bulk_update
    4:       .issue-check.hidden
  app/helpers/gitlab_routing_helper.rb:86:in `issue_path'
  app/views/projects/issues/_issue.html.haml:1:in `_app_views_projects_issues__issue_html_haml__95836987871451324_69839402205400'
  app/views/projects/issues/_issues.html.haml:2:in `_app_views_projects_issues__issues_html_haml___360367581773082461_69839402576680'
  app/views/projects/issues/index.html.haml:39:in `_app_views_projects_issues_index_html_haml___4374014563045016962_69839369216260'
  app/controllers/projects/issues_controller.rb:56:in `index'
  lib/gitlab/i18n.rb:39:in `with_locale'
  lib/gitlab/i18n.rb:45:in `with_user_locale'
  app/controllers/application_controller.rb:303:in `set_locale'
  lib/gitlab/performance_bar/peek_performance_bar_with_rack_body.rb:16:in `call'
  lib/gitlab/middleware/multipart.rb:93:in `call'
  lib/gitlab/request_profiler/middleware.rb:14:in `call'
  lib/gitlab/middleware/go.rb:16:in `call'
  lib/gitlab/etag_caching/middleware.rb:11:in `call'
  lib/gitlab/request_context.rb:18:in `call'
Reply all
Reply to author
Forward
0 new messages