Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0029751 | Openbravo ERP | A. Platform | public | 2015-04-30 16:38 | 2015-05-19 18:39 |
|
Reporter | rafademiguel | |
Assigned To | rafademiguel | |
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | 3.0PR15Q3 | Fixed in Version | 3.0PR15Q3 | |
Merge Request Status | |
Review Assigned To | alostale |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
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 |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0034550 | | closed | alostale | [clustering] incorrect message when trying to kill a process in a node no executing bg processes | related to | defect | 0035654 | | closed | caristu | module validation fails for killable BG processes using CDI | related to | feature request | 0038360 | | new | Triage Platform Base | Ability to define the maximum duration of a background process |
|
Attached Files | |
|
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 |
Notes |
|
|
|
|
(0077224)
|
hgbot
|
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
|
2015-05-08 13:27
|
|
|
|
(0077243)
|
hgbot
|
2015-05-08 15:29
|
|
|
|
(0077244)
|
hgbot
|
2015-05-08 15:30
|
|
|
|
(0077252)
|
hgbot
|
2015-05-08 18:59
|
|
|
|
(0077253)
|
hgbot
|
2015-05-08 19:56
|
|
|
|
|
|
|
(0077447)
|
hgbot
|
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
---
|
|
|
|
|
|
|
|
|
(0077568)
|
hgbot
|
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
---
|
|
|
|
|