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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0033976
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Openbravo ERP] A. Platformminoralways2016-09-13 17:392016-12-16 18:37
ReporterumartirenaView Statuspublic 
Assigned Toplatform 
PriorityhighResolutionfixedFixed in Version3.0PR17Q1
StatusclosedFix in branchFixed in SCM revisionb23043be4cf6
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tocaristu
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0033976: Implement Client Side Event Handler Pre Delete Action

DescriptionIt would be nice if it could be possible to execute some actions before deleting a record or several records on an specific tab of the application.
Steps To ReproduceN/A
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to feature request 00332633.0PR16Q4 closedcaristu Implement Client Side Event Handler Extensions 
causes defect 0035686 closedinigosanchez It is not possible to delete a record in tree view 

-  Notes
(0090670)
hgbot (developer)
2016-10-18 14:29

Repository: erp/devel/pi
Changeset: b23043be4cf63ad3ce1fd35047ece43b4530c3bd
Author: Unai Martirena <unai.martirena <at> openbravo.com>
Date: Wed Sep 14 12:10:51 2016 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/b23043be4cf63ad3ce1fd35047ece43b4530c3bd [^]

Fixed Issue 33976: Implemented Pre Delete Client Side Event Handler

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-event-handler-registry.js
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view.js
---
(0090671)
hgbot (developer)
2016-10-18 14:29

Repository: erp/devel/pi
Changeset: 86421f90703271582042c89412f50b636484a06d
Author: Unai Martirena <unai.martirena <at> openbravo.com>
Date: Fri Sep 16 15:02:24 2016 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/86421f90703271582042c89412f50b636484a06d [^]

Related ot issue 33976: Code review improvements


1) Take into account if the grid is in tree view or normal view.
2) Name selectedRecords as recordsToDelete.
3) Check if the callback function to be executed is a function. If not, don't execute the action.

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view.js
---
(0090672)
hgbot (developer)
2016-10-18 14:29

Repository: erp/devel/pi
Changeset: a329a3cb0674993321268b936a473d8e0312aae6
Author: Unai Martirena <unai.martirena <at> openbravo.com>
Date: Fri Sep 16 15:49:50 2016 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/a329a3cb0674993321268b936a473d8e0312aae6 [^]

Related to issue 33976: Code review

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view.js
---
(0090689)
hgbot (developer)
2016-10-19 09:30

Repository: erp/devel/pi
Changeset: 8b78e2441a235818e4f98ca482c58f27987b021f
Author: Unai Martirena <unai.martirena <at> openbravo.com>
Date: Wed Oct 19 09:28:34 2016 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/8b78e2441a235818e4f98ca482c58f27987b021f [^]

Related to issue 33976: Fix wrong function call

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-view.js
---
(0090732)
caristu (developer)
2016-10-20 16:38

Updated doc: http://wiki.openbravo.com/wiki/How_to_create_client_event_handler_actions#Pre-delete_Action:_Client_Validation [^]
(0090735)
caristu (developer)
2016-10-20 17:57

Code review and tested as part of the project[1]

Added a new sample pre-delete action in org.openbravo.platform.ci module[2]


[1] http://wiki.openbravo.com/wiki/Projects:Client_Side_Event_Handlers_Extension_PreDelete [^]
[2] https://code.openbravo.com/erp/mods/org.openbravo.platform.ci/rev/c6389df9c433 [^]
(0092531)
hudsonbot (developer)
2016-12-16 18:37

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/dc8bf00badd0 [^]
Maturity status: Test
(0092532)
hudsonbot (developer)
2016-12-16 18:37

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/dc8bf00badd0 [^]
Maturity status: Test
(0092533)
hudsonbot (developer)
2016-12-16 18:37

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/dc8bf00badd0 [^]
Maturity status: Test
(0092534)
hudsonbot (developer)
2016-12-16 18:37

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/dc8bf00badd0 [^]
Maturity status: Test

- Issue History
Date Modified Username Field Change
2016-09-13 17:39 umartirena New Issue
2016-09-13 17:39 umartirena Assigned To => platform
2016-09-13 17:39 umartirena Modules => Core
2016-09-13 17:39 umartirena Triggers an Emergency Pack => No
2016-09-13 17:39 umartirena Relationship added related to 0033263
2016-10-18 14:29 hgbot Checkin
2016-10-18 14:29 hgbot Note Added: 0090670
2016-10-18 14:29 hgbot Status new => resolved
2016-10-18 14:29 hgbot Resolution open => fixed
2016-10-18 14:29 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/b23043be4cf63ad3ce1fd35047ece43b4530c3bd [^]
2016-10-18 14:29 hgbot Checkin
2016-10-18 14:29 hgbot Note Added: 0090671
2016-10-18 14:29 hgbot Checkin
2016-10-18 14:29 hgbot Note Added: 0090672
2016-10-18 19:23 caristu Review Assigned To => caristu
2016-10-18 19:23 caristu Issue Monitored: caristu
2016-10-19 09:30 hgbot Checkin
2016-10-19 09:30 hgbot Note Added: 0090689
2016-10-20 16:38 caristu Note Added: 0090732
2016-10-20 17:57 caristu Note Added: 0090735
2016-10-20 17:57 caristu Status resolved => closed
2016-10-20 17:57 caristu Fixed in Version => 3.0PR17Q1
2016-12-16 18:37 hudsonbot Checkin
2016-12-16 18:37 hudsonbot Note Added: 0092531
2016-12-16 18:37 hudsonbot Checkin
2016-12-16 18:37 hudsonbot Note Added: 0092532
2016-12-16 18:37 hudsonbot Checkin
2016-12-16 18:37 hudsonbot Note Added: 0092533
2016-12-16 18:37 hudsonbot Checkin
2016-12-16 18:37 hudsonbot Note Added: 0092534
2017-04-04 16:23 inigosanchez Relationship added causes 0035686


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker