[openSUSE/open-build-service] 3c726a: Change the deletion option for comments of requests
Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: 3c726a451e38b80b174d6f644a0127debee6b412 https://github.com/openSUSE/open-build-service/commit/3c726a451e38b80b174d6f... Author: Saray Cabrera Padrón <scabrerapadron@suse.de> Date: 2021-02-04 (Thu, 04 Feb 2021) Changed paths: M src/api/app/models/bs_request.rb Log Message: ----------- Change the deletion option for comments of requests When a request is removed, its associated comments are removed. But the notifications about those comments should be removed too, otherwise the notifications page will raise an error. To fix that, we replace `dependent: delete_all` by `dependent: destroy`. Co-authored-by: Eduardo Navarro <enavarro@suse.com> Commit: ef66ebb11e0983e2da587b10d2a9fdd88b699569 https://github.com/openSUSE/open-build-service/commit/ef66ebb11e0983e2da587b... Author: Victor Pereira <vpereira@suse.de> Date: 2021-02-04 (Thu, 04 Feb 2021) Changed paths: M src/api/app/models/bs_request.rb Log Message: ----------- Merge pull request #10735 from saraycp/requests_comments_deletion Change the deletion option for comments of requests Compare: https://github.com/openSUSE/open-build-service/compare/43bd0b2d5ed1...ef66eb...
participants (1)
-
Victor Pereira