Bug 970512 - removing a system from a group fails with 405 Method Not Allowed
Summary: removing a system from a group fails with 405 Method Not Allowed
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Beaker
Classification: Retired
Component: web UI
Version: 0.12
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: 0.13
Assignee: Dan Callaghan
QA Contact: Nick Coghlan
URL:
Whiteboard:
: 960343 970915 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-06-04 08:19 UTC by Dan Callaghan
Modified: 2018-02-06 00:41 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-06-25 06:25:31 UTC
Embargoed:


Attachments (Terms of Use)

Description Dan Callaghan 2013-06-04 08:19:50 UTC
Description of problem:
Removing a system from a group fails with 405 Method Not Allowed.

Version-Release number of selected component (if applicable):
0.12.1

Steps to Reproduce:
1. Add a system to a group.
2. Click "Remove" to remove the system from the group.

Actual results:
Beaker gives a 405 Method Not Allowed error.

Expected results:
Should permit the removal.

Additional info:
I think this is a regression from commit 20490692 (Beaker 0.9.1) though I haven't tested back that far. It looks like @restrict_http_method('post') should have been added to the remove method, not the removeSystem method.

Comment 1 Dan Callaghan 2013-06-04 09:18:28 UTC
On Gerrit: http://gerrit.beaker-project.org/2014

Comment 2 xjia 2013-06-05 02:20:09 UTC
Well, is it same with bug 960343 ?

Comment 3 Dan Callaghan 2013-06-05 02:21:22 UTC
(In reply to xjia from comment #2)

Indeed, well spotted. :-)

Comment 4 Dan Callaghan 2013-06-05 02:21:36 UTC
*** Bug 960343 has been marked as a duplicate of this bug. ***

Comment 6 Dan Callaghan 2013-06-05 23:46:27 UTC
*** Bug 970915 has been marked as a duplicate of this bug. ***

Comment 8 Nick Coghlan 2013-06-06 07:50:53 UTC
Confirmed that this now works as expected on the integration instance:

1. Added a system to a group
2. Navigated to the group's details page
3. Used the "Remove" link for the system to remove it from the group
4. Answered "Yes" to the confirmation prompt
5. Received notification the system had been removed
6. System no longer appeared on the group's page and the group no longer appeared in group list on the system' page

Comment 10 Amit Saha 2013-06-25 06:25:31 UTC
Beaker 0.13.1 has been released.


Note You need to log in before you can comment on or make changes to this bug.