Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0016114
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajoralways2011-03-03 09:592011-03-16 00:00
ReportermtaalView Statuspublic 
Assigned Tomtaal 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision1e2483fbf3dc
ProjectionnoneETAnoneTarget Versionpi
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0016114: When deleting multiple records a database constraint error is not displayed

DescriptionFor 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.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0034528)
hgbot (developer)
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 (developer)
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 (developer)
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 (developer)
2011-03-15 10:08

Now it correctly shows the error message even if you try to remove multiple rows.

- Issue History
Date Modified Username Field Change
2011-03-03 09:59 mtaal New Issue
2011-03-03 09:59 mtaal Assigned To => mtaal
2011-03-03 09:59 mtaal Modules => Core
2011-03-03 12:06 hgbot Checkin
2011-03-03 12:06 hgbot Note Added: 0034528
2011-03-03 12:06 hgbot Status new => resolved
2011-03-03 12:06 hgbot Resolution open => fixed
2011-03-03 12:06 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/89c832df4031d43d9c7bb08aa51eb13d95a6987e [^]
2011-03-10 10:09 marvintm Note Added: 0034719
2011-03-10 10:09 marvintm Status resolved => new
2011-03-10 10:09 marvintm Resolution fixed => open
2011-03-10 13:07 hgbot Checkin
2011-03-10 13:07 hgbot Note Added: 0034727
2011-03-10 13:07 hgbot Status new => resolved
2011-03-10 13:07 hgbot Resolution open => fixed
2011-03-10 13:07 hgbot Fixed in SCM revision http://code.openbravo.com/erp/devel/pi/rev/89c832df4031d43d9c7bb08aa51eb13d95a6987e [^] => http://code.openbravo.com/erp/devel/pi/rev/1e2483fbf3dc8fe77c953173b4d701ab366e28cd [^]
2011-03-15 10:08 marvintm Note Added: 0034858
2011-03-15 10:08 marvintm Status resolved => closed
2011-03-16 00:00 anonymous sf_bug_id 0 => 3214401


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker