Project

General

Profile

Actions

Bug #1358

closed

Copying a table might raise an exception

Added by liaham over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Affected Version:
Compatible Redmine Version:

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.


Related issues 1 (0 open1 closed)

Copied from xmera Omnia - Bug #1354: Copying a table might raise an exceptionClosedliaham

Actions
Actions #1

Updated by liaham over 2 years ago

  • Copied from Bug #1354: Copying a table might raise an exception added
Actions #2

Updated by liaham over 2 years ago

  • Status changed from New to In Progress
Actions #3

Updated by liaham over 2 years ago

Options:

  • send a meaningful error message to the user
  • ignore validations when copying
Actions #4

Updated by liaham over 2 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 0 to 100
Actions #5

Updated by liaham over 2 years ago

  • Target version changed from unreleased to 1.0.5
Actions

Also available in: Atom PDF