Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0016114Openbravo ERPA. Platformpublic2011-03-03 09:592011-03-16 00:00
mtaal 
mtaal 
normalmajoralways
closedfixed 
5
 
pi 
Core
No
0016114: When deleting multiple records a database constraint error is not displayed
For example try to delete all the lines from the PR/4 sales order. Deleting one line shows the constraint error (correctly), deleting multiple lines will incorrectly report that all three lines have been removed. An error message should be displayed however.
No tags attached.
Issue History
2011-03-03 09:59mtaalNew Issue
2011-03-03 09:59mtaalAssigned To => mtaal
2011-03-03 09:59mtaalModules => Core
2011-03-03 12:06hgbotCheckin
2011-03-03 12:06hgbotNote Added: 0034528
2011-03-03 12:06hgbotStatusnew => resolved
2011-03-03 12:06hgbotResolutionopen => fixed
2011-03-03 12:06hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/89c832df4031d43d9c7bb08aa51eb13d95a6987e [^]
2011-03-10 10:09marvintmNote Added: 0034719
2011-03-10 10:09marvintmStatusresolved => new
2011-03-10 10:09marvintmResolutionfixed => open
2011-03-10 13:07hgbotCheckin
2011-03-10 13:07hgbotNote Added: 0034727
2011-03-10 13:07hgbotStatusnew => resolved
2011-03-10 13:07hgbotResolutionopen => fixed
2011-03-10 13:07hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/89c832df4031d43d9c7bb08aa51eb13d95a6987e [^] => http://code.openbravo.com/erp/devel/pi/rev/1e2483fbf3dc8fe77c953173b4d701ab366e28cd [^]
2011-03-15 10:08marvintmNote Added: 0034858
2011-03-15 10:08marvintmStatusresolved => closed
2011-03-16 00:00anonymoussf_bug_id0 => 3214401

Notes
(0034528)
hgbot   
2011-03-03 12:06   
Repository: erp/devel/pi
Changeset: 89c832df4031d43d9c7bb08aa51eb13d95a6987e
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Thu Mar 03 12:06:14 2011 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/89c832df4031d43d9c7bb08aa51eb13d95a6987e [^]

Fixes issue 16114: When deleting multiple records a database constraint error is not displayed

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-standard-view.js
---
(0034719)
marvintm   
2011-03-10 10:09   
Does not work for me.

If I try to remove one sales order, it tells me that it cannot (because the document is Processed/Posted), which is fine.

However, if I try to remove two sales order (in Completed status), it tells me that two records have been correctly removed (which is false, as the system couldn't remove them for the reason stated above). If I then reload the grid, the rows reappear again (as they were not really removed).

The error should also appear in this case.
(0034727)
hgbot   
2011-03-10 13:07   
Repository: erp/devel/pi
Changeset: 1e2483fbf3dc8fe77c953173b4d701ab366e28cd
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Thu Mar 10 13:07:02 2011 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/1e2483fbf3dc8fe77c953173b4d701ab366e28cd [^]

Fixes issue 16114: When deleting multiple records a database constraint error is not displayed

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/ob-standard-view.js
---
(0034858)
marvintm   
2011-03-15 10:08   
Now it correctly shows the error message even if you try to remove multiple rows.