NoMethodError: undefined method `except' for #<ProtectedBranch::UnprotectAccessLevel:0x00007fd7e16d5770>

https://sentry.gitlab.net/gitlab/gitlabcom/issues/819334/

Specific event: https://sentry.gitlab.net/gitlab/gitlabcom/issues/819334/events/18507278/

NoMethodError: undefined method `except' for #<ProtectedBranch::UnprotectAccessLevel:0x00007fd7e16d5770>
  active_model/attribute_methods.rb:430:in `method_missing'
    match ? attribute_missing(match, *args, &block) : super
  gitlab/import_export/relation_factory.rb:60:in `initialize'
    @relation_hash = relation_hash.except('noteable_id')
  gitlab/import_export/relation_factory.rb:46:in `new'
    new(*args).create
  gitlab/import_export/relation_factory.rb:46:in `create'
    new(*args).create
  gitlab/import_export/project_tree_restorer.rb:207:in `block in create_relation'
    Gitlab::ImportExport::RelationFactory.create(relation_sym: relation.to_sym,
...
(82 additional frame(s) were not displayed)

NoMethodError: undefined method `except' for #<ProtectedBranch::UnprotectAccessLevel:0x00007fd7e16d5770>

Also related: https://sentry.gitlab.net/gitlab/gitlabcom/issues/795495/events/18507200/

Related Kibana log: https://log.gitlab.net/goto/288f27fca2312ca951f11571519926c0

Edited Jul 24, 2019 by Cynthia "Arty" Ng
Assignee Loading
Time tracking Loading