[obs-commits] [openSUSE/open-build-service] c391e5: [webui][ci] Fix error handling for adding invalid ...
Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: c391e5053aaad0208724fd62b0fad13ebd022b39 https://github.com/openSUSE/open-build-service/commit/c391e5053aaad0208724fd... Author: Eduardo Navarro <enavarro@suse.com> Date: 2016-09-26 (Mon, 26 Sep 2016) Changed paths: M src/api/app/controllers/webui/project_controller.rb A src/api/spec/cassettes/Webui_ProjectController/POST_add_maintained_project/with_a_maintenance_project_kind_maintenance_/adding_an_invalid_project/1_30_1_2_1.yml A src/api/spec/cassettes/Webui_ProjectController/POST_add_maintained_project/with_a_maintenance_project_kind_maintenance_/adding_an_invalid_project/1_30_1_2_2.yml A src/api/spec/cassettes/Webui_ProjectController/POST_add_maintained_project/with_a_maintenance_project_kind_maintenance_/adding_an_invalid_project/1_30_1_2_3.yml M src/api/spec/controllers/webui/project_controller_spec.rb Log Message: ----------- [webui][ci] Fix error handling for adding invalid maintained projects Previously we showed a 404 page when a user added an invalid maintained project. With this commit this will instead show an error message. TODO: redirect to previous page (maintenance tab). Pairprogramming with @bgeuken Commit: 925709ebb19c8994942325ef17b0b959c6461385 https://github.com/openSUSE/open-build-service/commit/925709ebb19c8994942325... Author: Björn Geuken <bgeuken@suse.de> Date: 2016-09-26 (Mon, 26 Sep 2016) Changed paths: M src/api/app/controllers/webui/project_controller.rb A src/api/spec/cassettes/Webui_ProjectController/POST_add_maintained_project/with_a_maintenance_project_kind_maintenance_/adding_an_invalid_project/1_30_1_2_1.yml A src/api/spec/cassettes/Webui_ProjectController/POST_add_maintained_project/with_a_maintenance_project_kind_maintenance_/adding_an_invalid_project/1_30_1_2_2.yml A src/api/spec/cassettes/Webui_ProjectController/POST_add_maintained_project/with_a_maintenance_project_kind_maintenance_/adding_an_invalid_project/1_30_1_2_3.yml M src/api/spec/controllers/webui/project_controller_spec.rb Log Message: ----------- Merge pull request #2154 from eduardoj/project_controller_add_maintained_project_continue [webui][ci] Fix error handling for adding invalid maintained projects Compare: https://github.com/openSUSE/open-build-service/compare/0b85540a0921...925709...
participants (1)
-
Björn Geuken