[Bug 656182] New: get sent an invalid request error while delete user
https://bugzilla.novell.com/show_bug.cgi?id=656182 https://bugzilla.novell.com/show_bug.cgi?id=656182#c0 Summary: get sent an invalid request error while delete user Classification: Internal Novell Products Product: openSUSE Build Service Version: 2.1 Platform: i686 OS/Version: openSUSE 11.3 Status: NEW Severity: Normal Priority: P5 - None Component: api AssignedTo: adrian@novell.com ReportedBy: zhuijun.bao@gmail.com QAContact: adrian@novell.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/534.7 (KHTML, like Gecko) Chrome/7.0.517.44 Safari/534.7 Get "You sent an invalid request!" error, while delete user. can not delete any user. ps:I login as Admin Reproducible: Always Steps to Reproduce: 1.loing as an Admin 2.go to user manamge 3.choose a user, and click delete 4.choose yes when ask me to confirm delete 5."You sent an invalid request!" error display Actual Results: error, the select user can not delete Expected Results: no error, the select user will be deleted this problem caused by src/api/app/views/active_rbac/user/delete.rhtml change delete to destroy, just as below: <% form_for :group, :url => { :action => :destroy, :id => @user } do |form| %> <%= submit_tag 'Yes', :name => 'yes' %> <%= submit_tag 'No', :name => 'no' %> <% end %> -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=656182
https://bugzilla.novell.com/show_bug.cgi?id=656182#c1
Adrian Schröter
https://bugzilla.novell.com/show_bug.cgi?id=656182
https://bugzilla.novell.com/show_bug.cgi?id=656182#c2
--- Comment #2 from Christian Prause
participants (1)
-
bugzilla_noreply@novell.com