[openSUSE/open-build-service] 4f44b4: Prevent from erroring running the dev:test_data:cr...
Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: 4f44b4679c4a0d6c423084163b667e0ad39cc014 https://github.com/openSUSE/open-build-service/commit/4f44b4679c4a0d6c423084... Author: Eduardo Navarro <enavarro@suse.com> Date: 2024-07-25 (Thu, 25 Jul 2024) Changed paths: M src/api/lib/tasks/dev.rake Log Message: ----------- Prevent from erroring running the dev:test_data:create task Otherwise, an error like this is thrown: ``` Writing issue trackers into backend rake aborted! NoMethodError: undefined method `id' for nil:NilClass after_commit { PopulateToSphinxJob.perform_later(id: bs_request.id, model_name: :bs_request) } ^^^ /obs/src/api/app/models/review.rb:77:in `block in <class:Review>' <internal:kernel>:90:in `tap' /obs/src/api/lib/tasks/dev.rake:162:in `block (4 levels) in <top (required)>' /obs/src/api/lib/tasks/dev.rake:153:in `block (3 levels) in <top (required)>' ``` Commit: 96a70731fa8e41be95171377cbf2efb897f87655 https://github.com/openSUSE/open-build-service/commit/96a70731fa8e41be951713... Author: Lukas Krause <lkrause@suse.de> Date: 2024-07-26 (Fri, 26 Jul 2024) Changed paths: M src/api/lib/tasks/dev.rake Log Message: ----------- Merge pull request #16559 from eduardoj/fix/create_dev_test_data_with_review_for_request Prevent from erroring running the `dev:test_data:create task` Compare: https://github.com/openSUSE/open-build-service/compare/541c85d2040d...96a707... To unsubscribe from these emails, change your notification settings at https://github.com/openSUSE/open-build-service/settings/notifications
participants (1)
-
Lukas Krause