Patch #8414
time_entry is saved even with errors
| Status: | New | Start date: | 2011-05-20 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | - | % Done: | 0% | |
| Category: | Issues | |||
| Target version: | - |
Description
I don't know if this is already fixed, I'm looking for and no result has been found.
We have a custom field at beginning isn't require, passed few time, we changed this behaviour. some issues hadn't got defined a value for this custom field.
If we try to update the issue, we puts some hours in the field spent_time, but don't put any value in the custom field required then submit.
We have a error, but the time_entry don't have rollback
I'm using redmine 1.0.2 (stable)
I've patched the Issue::save_issue_with_child_records adding a "raise" if "params"
isn't valid
History
#1 Updated by Francisco José Martínez about 2 years ago
- File issue.rb.patch
added
#2 Updated by Francisco José Martínez almost 2 years ago
- % Done changed from 100 to 0