Actions
Bug #1354
closedCopying a table might raise an exception
Start date:
Due date:
% Done:
100%
Estimated time:
Affected Version:
Affected component:
Compatible Redmine Version:
Pull Request Link:
Description
The error occurs only if
- an existing table has already some entries,
- the table will be extended by a further field,
- the field is
required
, - the table will be copied into another object.
Copied tables will be newly created in the target object. When doing so, each table row which is given in the source object will be created in the target object. Bevor this new table row is saved it will be valdiated what fails when the record given by the source object has no value in the required field.
The transaction is rolled back and responds with 422.
Actions