Project

General

Profile

Bug #2240

ModelDAO - Editing a field setting as null

Added by Maurício Dos Santos over 8 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Normal
Target version:
Start date:
10/05/2016
Due date:
% Done:

0%

Complexity:

Description

When editing using ModelDAO API.

If the user sets empty a field that was not empty, the system will not update this field setting null.

Example: when editing a case and setting the birthDate as null (empty).

History

#1 Updated by Maurício Dos Santos over 8 years ago

  • Target version changed from 3.0.9 - Jan 10th, 2017 to No version defined

#2 Updated by Maurício Dos Santos over 8 years ago

  • Status changed from New to In Progress

#3 Updated by Maurício Dos Santos over 8 years ago

  • Status changed from In Progress to New

#4 Updated by Maurício Dos Santos over 8 years ago

  • Status changed from New to In Progress

#5 Updated by Maurício Dos Santos over 8 years ago

actually this issue happens only with date fields when using formdialog remote or not

#6 Updated by Maurício Dos Santos over 8 years ago

  • Status changed from In Progress to Feedback
  • Assignee set to Maurício Dos Santos

I noticed that when birthDate was set to 'empty' the control passed 'undefined' instead of 'null'

I tried passing 'null' and it worked

Ricardo should validated it

#7 Updated by Maurício Dos Santos over 8 years ago

  • Status changed from Feedback to Resolved

Also available in: Atom PDF