time_entry is saved even with errors
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"
Updated by Francisco José Martínez about 12 years ago
- File issue.rb.patch issue.rb.patch added
Updated by Francisco José Martínez almost 12 years ago
- % Done changed from 100 to 0
Updated by Go MAEDA over 6 years ago
- Status changed from New to Closed
I cannot reproduce the problem in the current trunk (r16111).
Probably fixed in r8891, source:trunk/app/models/issue.rb@8891#L698 (Redmine 1.4.0).