Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0016934Openbravo ERPA. Platformpublic2011-04-29 09:132011-05-31 09:58
rgoris 
alostale 
urgentmajorhave not tried
closedfixed 
5
 
3.0MP0 
Core
No
0016934: Extend delete-record warning message in case of children
Now when you delete a record (such as a header) that has children, all these children will be deleted too in one go. This is good.

However, the warning message does not mention this. This could lead to confusion and perhaps unwanted deletion of children as in 2.50 this was not the case (it was impossible to delete a header when it had kids).
Extend the warning message with "This will also delete all its child records."
No tags attached.
related to defect 00171993.0MP0 closed shuehner Error message when trying to delete a header with lines 
png kids.PNG (60,122) 2011-04-29 09:13
https://issues.openbravo.com/file_download.php?file_id=3911&type=bug
png
Issue History
2011-04-29 09:13rgorisNew Issue
2011-04-29 09:13rgorisAssigned To => alostale
2011-04-29 09:13rgorisFile Added: kids.PNG
2011-04-29 09:13rgorisModules => Core
2011-05-17 13:04rgorisRelationship addedrelated to 0017199
2011-05-17 13:04rgorisStatusnew => scheduled
2011-05-17 13:04rgorisTarget Version => 3.0MP0
2011-05-23 20:33dmitry_mezentsevPriorityhigh => urgent
2011-05-24 12:06rgorisSeverityminor => major
2011-05-24 12:06rgorisTypefeature request => defect
2011-05-24 12:06rgorisProposed Solution updated
2011-05-25 17:38alostaleNote Added: 0037440
2011-05-30 18:04hgbotCheckin
2011-05-30 18:04hgbotNote Added: 0037747
2011-05-30 18:04hgbotStatusscheduled => resolved
2011-05-30 18:04hgbotResolutionopen => fixed
2011-05-30 18:04hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/d606c372f2564d4d50145bcda9db14daaea43571 [^]
2011-05-31 09:45hudsonbotCheckin
2011-05-31 09:45hudsonbotNote Added: 0037804
2011-05-31 09:58rgorisStatusresolved => closed

Notes
(0037440)
alostale   
2011-05-25 17:38   
As discussed with Rob, this message extension will not be done "smartly" but in all cases. To do it smartly it would require to do a call to the server to know whether the current record actually has children, this would delay the message till the response is served to client.
(0037747)
hgbot   
2011-05-30 18:04   
Repository: erp/devel/pi
Changeset: d606c372f2564d4d50145bcda9db14daaea43571
Author: Stefan Hühner <stefan.huehner <at> openbravo.com>
Date: Mon May 30 18:03:37 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/d606c372f2564d4d50145bcda9db14daaea43571 [^]

Fixed 16934: Extend delete-record warning message in case of children
Mention that any existing child-records will also be deleted as part of the
deletion of the parent record (in the confirm popup when deleting a record from
the UI)

---
M modules/org.openbravo.client.application/src-db/database/sourcedata/AD_MESSAGE.xml
---
(0037804)
hudsonbot   
2011-05-31 09:45   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/ea275e03a164 [^]

Maturity status: Test