Content
View differences
Updated by Kabiru Mwenja over 1 year ago
StandardError: An error has occurred, this and all later migrations canceled: (StandardError)
undefined method 'require\_member?' for nil
/home/dev/openproject/db/migrate/migration\_utils/permission\_adder.rb:47:in 'block in Migration::MigrationUtils::PermissionAdder.add'
/usr/local/bundle/gems/activerecord-7.1.5.1/lib/active\_record/relation/batches.rb:82:in 'Array#each'
/usr/local/bundle/gems/activerecord-7.1.5.1/lib/active\_record/relation/batches.rb:82:in 'block in ActiveRecord::Batches#find\_each'
/usr/local/bundle/gems/activerecord-7.1.5.1/lib/active\_record/relation/batches.rb:158:in 'block in ActiveRecord::Batches#find\_in\_batches'
/usr/local/bundle/gems/activerecord-7.1.5.1/lib/active\_record/relation/batches.rb:396:in 'block in ActiveRecord::Batches#batch\_on\_unloaded\_relation'
/usr/local/bundle/gems/activerecord-7.1.5.1/lib/active\_record/relation/batches.rb:372:in 'ActiveRecord::Batches#batch\_on\_unloaded\_relation'
/usr/local/bundle/gems/activerecord-7.1.5.1/lib/active\_record/relation/batches.rb:269:in 'ActiveRecord::Batches#in\_batches'
/usr/local/bundle/gems/activerecord-7.1.5.1/lib/active\_record/relation/batches.rb:157:in 'ActiveRecord::Batches#find\_in\_batches'
/usr/local/bundle/gems/activerecord-7.1.5.1/lib/active\_record/relation/batches.rb:81:in 'ActiveRecord::Batches#find\_each'
/home/dev/openproject/db/migrate/migration\_utils/permission\_adder.rb:42:in 'Migration::MigrationUtils::PermissionAdder.add'
/home/dev/openproject/db/migrate/20241129135602\_populate\_manage\_own\_reminders\_permission.rb:34:in 'PopulateManageOwnRemindersPermission#up'
🧥 **QA to be done by Dev/Operations**
undefined method 'require\_member?' for nil
/home/dev/openproject/db/migrate/migration\_utils/permission\_adder.rb:47:in 'block in Migration::MigrationUtils::PermissionAdder.add'
/usr/local/bundle/gems/activerecord-7.1.5.1/lib/active\_record/relation/batches.rb:82:in 'Array#each'
/usr/local/bundle/gems/activerecord-7.1.5.1/lib/active\_record/relation/batches.rb:82:in 'block in ActiveRecord::Batches#find\_each'
/usr/local/bundle/gems/activerecord-7.1.5.1/lib/active\_record/relation/batches.rb:158:in 'block in ActiveRecord::Batches#find\_in\_batches'
/usr/local/bundle/gems/activerecord-7.1.5.1/lib/active\_record/relation/batches.rb:396:in 'block in ActiveRecord::Batches#batch\_on\_unloaded\_relation'
/usr/local/bundle/gems/activerecord-7.1.5.1/lib/active\_record/relation/batches.rb:372:in 'ActiveRecord::Batches#batch\_on\_unloaded\_relation'
/usr/local/bundle/gems/activerecord-7.1.5.1/lib/active\_record/relation/batches.rb:269:in 'ActiveRecord::Batches#in\_batches'
/usr/local/bundle/gems/activerecord-7.1.5.1/lib/active\_record/relation/batches.rb:157:in 'ActiveRecord::Batches#find\_in\_batches'
/usr/local/bundle/gems/activerecord-7.1.5.1/lib/active\_record/relation/batches.rb:81:in 'ActiveRecord::Batches#find\_each'
/home/dev/openproject/db/migrate/migration\_utils/permission\_adder.rb:42:in 'Migration::MigrationUtils::PermissionAdder.add'
/home/dev/openproject/db/migrate/20241129135602\_populate\_manage\_own\_reminders\_permission.rb:34:in 'PopulateManageOwnRemindersPermission#up'
🧥 **QA to be done by Dev/Operations**