Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0029751 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
feature request | [Openbravo ERP] A. Platform | minor | have not tried | 2015-04-30 16:38 | 2015-05-19 18:39 | |||
Reporter | rafademiguel | View Status | public | |||||
Assigned To | rafademiguel | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 3.0PR15Q3 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 58b343938308 | ||||
Projection | none | ETA | none | Target Version | 3.0PR15Q3 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | alostale | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0029751: It would be nice to have the ability to kill a background process | |||||||
Description | It would be nice to have the ability to kill a background process Notes: Only scheduled background processes will be killable (not process definitions or any other process launched from menu or window) By default processes already developed (even background) are not killable In order they to be killable, they will need to implement a new Java interface. This interface will have one method (kill), which will be invoked when the user wants to kill the process, the process itself should implement what is done when killing Processes can be killed from process monitor window, a new button will be added. It will be only shown for processes that are currently in execution. If it is clicked on a process that is not killable, a message informing about this will be displayed (I'm not thinking about defining in AD if a process killable, just not to overload more the already crowded ad_process table) | |||||||
Steps To Reproduce | N/A | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||||||||||||||||
|
Notes | |
(0076919) rafademiguel (developer) 2015-04-30 16:38 |
https://code.openbravo.com/erp/devel/pi-killprocess [^] |
(0077224) hgbot (developer) 2015-05-08 11:07 |
Repository: erp/devel/pi Changeset: 58b343938308026445ff448289f1d656fa4294ee Author: Guillermo Gil <guillermo.gil <at> openbravo.com> Date: Fri May 08 09:07:19 2015 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/58b343938308026445ff448289f1d656fa4294ee [^] Fixed issue 29751: Kill Process Merge with kill process branch --- M modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_PROCESS.xml M modules/org.openbravo.financial.paymentreport/src-db/database/sourcedata/AD_PROCESS.xml M modules/org.openbravo.reports.ordersawaitingdelivery/src-db/database/sourcedata/AD_PROCESS.xml M modules/org.openbravo.utility.cleanup.log/src-db/database/sourcedata/AD_PROCESS.xml M src-db/database/model/tables/AD_PROCESS.xml M src-db/database/model/views/AD_PROCESS_EXECUTION_V.xml M src-db/database/sourcedata/AD_AUXILIARINPUT.xml M src-db/database/sourcedata/AD_COLUMN.xml M src-db/database/sourcedata/AD_ELEMENT.xml M src-db/database/sourcedata/AD_FIELD.xml M src-db/database/sourcedata/AD_MESSAGE.xml M src-db/database/sourcedata/AD_PROCESS.xml M src-db/database/sourcedata/OBUIAPP_PROCESS.xml M src/org/openbravo/scheduling/DefaultJob.java M src/org/openbravo/service/system/DatabaseValidator.java M src/org/openbravo/service/system/SystemValidationResult.java A src/org/openbravo/common/actionhandler/KillProcess.java A src/org/openbravo/scheduling/KillableProcess.java --- |
(0077236) hgbot (developer) 2015-05-08 13:27 |
Repository: erp/pmods/org.openbravo.retail.config Changeset: 79eb9de019a3f55236ef3f1955da595d5333bad5 Author: Guillermo Gil <guillermo.gil <at> openbravo.com> Date: Fri May 08 13:26:36 2015 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.config/rev/79eb9de019a3f55236ef3f1955da595d5333bad5 [^] Related to issue 29751: Kill Process missing ISKILLABLE --- M src-db/database/sourcedata/AD_PROCESS.xml --- |
(0077243) hgbot (developer) 2015-05-08 15:29 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: f9cb42460805c88dc6e187fa286883e313c02935 Author: Guillermo Gil <guillermo.gil <at> openbravo.com> Date: Fri May 08 15:28:28 2015 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/f9cb42460805c88dc6e187fa286883e313c02935 [^] Related to issue 29751: Kill Process missing ISKILLABLE --- M src-db/database/sourcedata/AD_PROCESS.xml --- |
(0077244) hgbot (developer) 2015-05-08 15:30 |
Repository: erp/pmods/org.openbravo.retail.discounts Changeset: 265200a88e5c24e8b0f8c71534b326bb305caf3d Author: Guillermo Gil <guillermo.gil <at> openbravo.com> Date: Fri May 08 15:29:50 2015 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts/rev/265200a88e5c24e8b0f8c71534b326bb305caf3d [^] Related to issue 29751: Kill Process missing ISKILLABLE --- M src-db/database/sourcedata/AD_PROCESS.xml --- |
(0077252) hgbot (developer) 2015-05-08 18:59 |
Repository: erp/mods/org.openbravo.agingbalance Changeset: b8c2e90d9b2bc87df8ec7a01bb8cca4875bb9686 Author: Guillermo Gil <guillermo.gil <at> openbravo.com> Date: Fri May 08 18:57:11 2015 +0200 URL: http://code.openbravo.com/erp/mods/org.openbravo.agingbalance/rev/b8c2e90d9b2bc87df8ec7a01bb8cca4875bb9686 [^] Related to issue 29751: Kill Process missing ISKILLABLE --- M src-db/database/sourcedata/AD_PROCESS.xml --- |
(0077253) hgbot (developer) 2015-05-08 19:56 |
Repository: erp/mods/org.openbravo.financial.cashflowforecast Changeset: 091ad8422d3eaa32abb1881c72a64c8de34b7b9b Author: Guillermo Gil <guillermo.gil <at> openbravo.com> Date: Fri May 08 19:55:52 2015 +0200 URL: http://code.openbravo.com/erp/mods/org.openbravo.financial.cashflowforecast/rev/091ad8422d3eaa32abb1881c72a64c8de34b7b9b [^] Related to issue 29751: Kill Process missing ISKILLABLE --- M src-db/database/sourcedata/AD_PROCESS.xml --- |
(0077308) hudsonbot (developer) 2015-05-11 21:53 |
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/a55bc3c14e8c [^] Maturity status: Test |
(0077447) hgbot (developer) 2015-05-14 15:01 |
Repository: erp/devel/pi Changeset: 59aad1232b8974f38186841c6a7d128f5ff918d9 Author: Asier Lostalé <asier.lostale <at> openbravo.com> Date: Thu May 14 14:59:55 2015 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/59aad1232b8974f38186841c6a7d128f5ff918d9 [^] ted to issue 29751: Killable processes Few minor enhacements: - When a process is killed, its status in process monitor is shown as "Killed by User" - When user clicks on "Kill Process" button change the message from "Process killed successfully" to "Kill signal sent to process" as sending the kill signal doesn't imply necessaryly the process to be successfully killed - Changed UI message levels when "Kill Process" button is clicked: - If signal is sent: from success to info - If process does not implement KillableProcess: from info to warn - Added ProcessBundle to KillableProcess.kill method so process instance's information can be accessed (ie. allows to add extra log when killing the process) --- M src-db/database/sourcedata/AD_MESSAGE.xml M src-db/database/sourcedata/AD_REF_LIST.xml M src/org/openbravo/common/actionhandler/KillProcess.java M src/org/openbravo/scheduling/DefaultJob.java M src/org/openbravo/scheduling/KillableProcess.java M src/org/openbravo/scheduling/Process.java M src/org/openbravo/scheduling/ProcessMonitor.java --- |
(0077478) alostale (manager) 2015-05-15 09:23 |
code reviewed + tested |
(0077509) hudsonbot (developer) 2015-05-16 05:21 |
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/33b0ebaa36ae [^] Maturity status: Test |
(0077568) hgbot (developer) 2015-05-19 10:48 |
Repository: erp/devel/pi Changeset: 709ae0d647125d58c810c4fb741aa5c45f500dfb Author: Asier Lostalé <asier.lostale <at> openbravo.com> Date: Tue May 19 10:47:47 2015 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/709ae0d647125d58c810c4fb741aa5c45f500dfb [^] related to issue 29751: fixed success status when executing bg processes When a background process finsished successfully its status was incorrectly set to error instead of success --- M src/org/openbravo/scheduling/ProcessMonitor.java --- |
(0077590) hudsonbot (developer) 2015-05-19 18:39 |
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/877209d1525b [^] Maturity status: Test |
Issue History | |||
Date Modified | Username | Field | Change |
2015-04-30 16:38 | rafademiguel | New Issue | |
2015-04-30 16:38 | rafademiguel | Assigned To | => rafademiguel |
2015-04-30 16:38 | rafademiguel | Modules | => Core |
2015-04-30 16:38 | rafademiguel | Triggers an Emergency Pack | => No |
2015-04-30 16:38 | rafademiguel | Review Assigned To | => alostale |
2015-04-30 16:38 | rafademiguel | Note Added: 0076919 | |
2015-05-08 09:25 | guillermogil | Issue Monitored: alostale | |
2015-05-08 11:07 | hgbot | Checkin | |
2015-05-08 11:07 | hgbot | Note Added: 0077224 | |
2015-05-08 11:07 | hgbot | Status | new => resolved |
2015-05-08 11:07 | hgbot | Resolution | open => fixed |
2015-05-08 11:07 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/58b343938308026445ff448289f1d656fa4294ee [^] |
2015-05-08 13:27 | hgbot | Checkin | |
2015-05-08 13:27 | hgbot | Note Added: 0077236 | |
2015-05-08 15:29 | hgbot | Checkin | |
2015-05-08 15:29 | hgbot | Note Added: 0077243 | |
2015-05-08 15:30 | hgbot | Checkin | |
2015-05-08 15:30 | hgbot | Note Added: 0077244 | |
2015-05-08 18:59 | hgbot | Checkin | |
2015-05-08 18:59 | hgbot | Note Added: 0077252 | |
2015-05-08 19:56 | hgbot | Checkin | |
2015-05-08 19:56 | hgbot | Note Added: 0077253 | |
2015-05-11 21:53 | hudsonbot | Checkin | |
2015-05-11 21:53 | hudsonbot | Note Added: 0077308 | |
2015-05-14 15:01 | hgbot | Checkin | |
2015-05-14 15:01 | hgbot | Note Added: 0077447 | |
2015-05-15 09:23 | alostale | Note Added: 0077478 | |
2015-05-15 09:23 | alostale | Status | resolved => closed |
2015-05-15 09:23 | alostale | Fixed in Version | => 3.0PR15Q3 |
2015-05-16 05:21 | hudsonbot | Checkin | |
2015-05-16 05:21 | hudsonbot | Note Added: 0077509 | |
2015-05-19 10:48 | hgbot | Checkin | |
2015-05-19 10:48 | hgbot | Note Added: 0077568 | |
2015-05-19 18:39 | hudsonbot | Checkin | |
2015-05-19 18:39 | hudsonbot | Note Added: 0077590 | |
2016-11-17 10:09 | alostale | Relationship added | related to 0034550 |
2017-09-06 13:03 | caristu | Relationship added | related to 0035654 |
2018-04-13 09:48 | caristu | Relationship added | related to 0038360 |
Copyright © 2000 - 2009 MantisBT Group |