MarkUsProject/Markus — Issue #684: Bulk actions from the User tab is broken
Author: daneshd
Created: 2012-02-25 22:27:44+00:00
State: open
Labels: Rails_3.0

Trying to do bulk actions from the User tab redirects to creating a new student. It should be performing the bulk action.

Reproduce by:
1. Login as admin
2. Click on the users tab
3. Click on the Bulk action drop down, select "Give Grace Credits:"
4. (Optional) Select some of the users' checkboxes.
5. Enter some credits and hit apply.

It should have popped up a warning telling you to select users or have performed the action but instead redirects to creating a new user.

Noticed in my logs, the URL for the POST request is broken. Looks like a standard Rails3 error, it should be an easy fix if you've encountered this before.

Started POST "/en/students?before=before_form_submit%28%29%3B&complete=after_form_submit%28%29%3B&remote=true&url[action]=bulk_modify"