[obs-commits] [openSUSE/open-build-service] 976066: [api][webui] Fix ActiveRecord::HasManyThroughCantA...
Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: 97606653a7566c4b953bd5f8c88ee7477cecfb60 https://github.com/openSUSE/open-build-service/commit/97606653a7566c4b953bd5... Author: Björn Geuken <bgeuken@suse.de> Date: 2016-04-04 (Mon, 04 Apr 2016) Changed paths: M src/api/app/models/project.rb Log Message: ----------- [api][webui] Fix ActiveRecord::HasManyThroughCantAssociateThroughHasOneOrManyReflection error This fixes an ActiveRecord exception that happened when destroying a project with repository_architecture association. This was caused by an unnessicary dependent-destroy instruction in a has_many_through associtation. http://errbit-opensuse.herokuapp.com/apps/5620ca2bdc71fa00b1000000/problems/... Commit: c3a62e9aa2217db38258a219d02db15f99277445 https://github.com/openSUSE/open-build-service/commit/c3a62e9aa2217db38258a2... Author: Adrian Schröter <adrian@suse.de> Date: 2016-04-04 (Mon, 04 Apr 2016) Changed paths: M src/api/app/models/project.rb Log Message: ----------- Merge pull request #1669 from bgeuken/fix_errbit_error [api][webui] Fix ActiveRecord::HasManyThroughCantAssociateThroughHasO… Compare: https://github.com/openSUSE/open-build-service/compare/14a083e82a65...c3a62e...
participants (1)
-
Adrian Schröter