a1dert/lh-tickets-test — Issue #464: Server error when hitting Cancel after editing a holiday request and section not accessible anymore.
Author: a1dert
Created: 2011-11-30 12:20:35+00:00
State: open

Imported from lighthouse. Original ticket at: http://redtape.lighthouseapp.com/projects/59696/tickets/95. Created by Adina Moldovan - 2010-11-20T17:16:47Z

Steps to reproduce:
1. Login into the application as admin
2. Go to Holidays
3. Select a request that you've previously created and hasn't been approved or rejected yet
4. Click on Edit
5. Modify un-check the days that were requested as holidays
6. Hit CANCEL

Expected result:
The modifications are not saved. The initially requested holidays can be viewed

Actual result: If I uncheck the requested days but then I hit cancel, I get an HTTP500 error and I can't access the Holidays page anymore. Please check the attached log extras for details.

When you fix this issue, please also put here info on what was the issue about and its root cause. This may help me identify other side effects or other areas where the same bug can occur.