[openSUSE/open-build-service] e753dd: Fix undefined local variable or method `project`
Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: e753dd623ad407b1bdcda2277be265809bcd7624 https://github.com/openSUSE/open-build-service/commit/e753dd623ad407b1bdcda2... Author: Dani Donisa <dani.doni@gmail.com> Date: 2024-05-31 (Fri, 31 May 2024) Changed paths: M src/api/app/models/concerns/has_attributes.rb Log Message: ----------- Fix undefined local variable or method `project` The `project` method is only valid when the object is a package, if not, we can ask for `render_main_attributes` directly. Fixes #15664 Commit: 17d6834776a4b178bd26ed23356bc5ada0a801c9 https://github.com/openSUSE/open-build-service/commit/17d6834776a4b178bd26ed... Author: Eduardo J <enavarro@suse.com> Date: 2024-05-31 (Fri, 31 May 2024) Changed paths: M src/api/app/models/concerns/has_attributes.rb Log Message: ----------- Merge pull request #16217 from danidoni/fix-missing-method-project-for-render-attribute-axml Fix undefined local variable or method `project` Compare: https://github.com/openSUSE/open-build-service/compare/8a4ff22f0990...17d683... To unsubscribe from these emails, change your notification settings at https://github.com/openSUSE/open-build-service/settings/notifications
participants (1)
-
Eduardo J.