Branch: refs/heads/master
Home: https://github.com/openSUSE/open-build-service
Commit: e7a4140ead92712f485f4d8ed4277f71e980f1cb
https://github.com/openSUSE/open-build-service/commit/e7a4140ead92712f485f4d...
Author: Lukas Krause
Date: 2024-04-26 (Fri, 26 Apr 2024)
Changed paths:
M src/api/app/views/webui/reports/show.html.haml
Log Message:
-----------
Do not call `link_to_reportable` if reportable does not exist
We call the `link_to_reportables` helper on the report show view.
This throws an `nil` exception when the reportable is deleted,
since the `reportable_type` gets nullified as well.
`link_to_reportable` works in on the email notification since the
`reportable_type` is still available from the event payload, but
we cannot retrieve it from the report record.
Fixes #16062
Commit: 7233a59292ef644c75a8ebe474db6a5cbfc36b99
https://github.com/openSUSE/open-build-service/commit/7233a59292ef644c75a8eb...
Author: Lukas Krause
Date: 2024-04-29 (Mon, 29 Apr 2024)
Changed paths:
M src/api/app/views/webui/reports/show.html.haml
Log Message:
-----------
Merge pull request #16063 from krauselukas/fix/issue_16062
Do not call `link_to_reportable` if reportable does not exist
Compare: https://github.com/openSUSE/open-build-service/compare/a0ef9a9620ed...7233a5...
To unsubscribe from these emails, change your notification settings at https://github.com/openSUSE/open-build-service/settings/notifications