attempting to disable languages results in an error page; languages remain enabled.

Description

User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.81 Safari/537.36
Build Identifier:

[Zanata 3.7.0-SNAPSHOT]
attempting to disable languages in a project results in an error page.
the languages remain enabled.

Reproducible: Always

Steps to Reproduce:
1. select a project (e.g. "ovirt-test")
2. select a version within the project (e.g. "master")
3. select "Manage Languages" from the "More Actions" menu in the "Languages" section.
4. select a few languages and select "Disable"
Actual Results:
an error page with the following text appears:

"""
We're sorry
An unexpected error has occurred. Please report this problem with details of what you were attempting.
But you can help us fix it!
[Report this problem]
"""

When navigating to the project's version's languages again, the previously selected-to-be-disabled languages are still enabled, so the action actually failed.

Expected Results:
the selected languages are becoming disabled (i.e. the action succeeds), no error page is displayed.

Environment

None

Status

Assignee

Unassigned

Reporter

ecohen

Labels

Tested Version/s

None

Components

Priority

unspecified
Configure