Skip to content

ActiveRecord::RecordInvalid: Validation failed: Noteable type can't be blank, Noteable can't be blank, Project does not match ...

https://sentry.gitlab.net/gitlab/devgitlaborg/issues/793976/

ActiveRecord::RecordInvalid: Validation failed: Noteable type can't be blank, Noteable can't be blank, Project does not match noteable project
  active_record/validations.rb:78:in `raise_validation_error'
    raise(RecordInvalid.new(self))
  active_record/validations.rb:50:in `save!'
    perform_validations(options) ? super : raise_validation_error
  active_record/attribute_methods/dirty.rb:43:in `save!'
    super.tap do
  active_record/transactions.rb:313:in `block in save!'
    with_transaction_returning_status { super }
  active_record/transactions.rb:384:in `block in with_transaction_returning_status'
    status = yield
...
(78 additional frame(s) were not displayed)

Validation failed: Noteable type can't be blank, Noteable can't be blank, Project does not match noteable project