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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0034550
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformtrivialhave not tried2016-11-17 10:082016-12-16 18:38
ReporteralostaleView Statuspublic 
Assigned Toalostale 
PrioritynormalResolutionfixedFixed in Version3.0PR17Q1
StatusclosedFix in branchFixed in SCM revisionb07ef157bb90
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

0034550: [clustering] incorrect message when trying to kill a process in a node no executing bg processes

DescriptionIn clustered environments, background processes can only be run in a single node (manged though background.policy property).

When trying to kill a process having logged in a node that has background processes disabled, an incorrect message is displayed.
Steps To Reproduce1. In a clustered instance with srv1 executing background processes and srv2 not executing them
2. In srv1 schedule Costing background process
3. In srv2 open process in execution and try to kill it
 -> ERRORS:
     -In UI: Unable to kill process. Process not running or not found.
     -In logs:
148894 [http-bio-8082-exec-7] ERROR org.openbravo.common.actionhandler.KillProcess - Error in Kill Process
java.lang.Exception: Unable to kill process. Process not running or not found.
    at org.openbravo.common.actionhandler.KillProcess.doExecute(KillProcess.java:63)
    at org.openbravo.client.application.process.BaseProcessActionHandler.execute(BaseProcessActionHandler.java:148)
    at org.openbravo.client.kernel.BaseActionHandler.execute(BaseActionHandler.java:73)
  
Tagsclustering
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to feature request 00297513.0PR15Q3 closedrafademiguel It would be nice to have the ability to kill a background process 
blocks design defect 0034490 acknowledgedTriage Platform Base [clustering] Support clustering 

-  Notes
(0091624)
hgbot (developer)
2016-11-17 10:18

Repository: erp/devel/pi
Changeset: b07ef157bb9048ed2909b62104da4b9c8e5acd23
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Thu Nov 17 10:17:26 2016 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/b07ef157bb9048ed2909b62104da4b9c8e5acd23 [^]

fixed bug 34550: incorrect message killing process if no executing bg processes

  When trying to kill a process in a node that does not execute background processes,
  an incorrect message was displayed in UI and an error was logged in openbravo.log.

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/common/actionhandler/KillProcess.java
M src/org/openbravo/erpCommon/ad_process/ScheduleProcess.java
M src/org/openbravo/scheduling/OBScheduler.java
---
(0091700)
caristu (developer)
2016-11-21 14:07

Code reviewed + tested OK: displaying the correct message in the UI.
(0091701)
caristu (developer)
2016-11-21 14:12

Updated doc: http://wiki.openbravo.com/wiki/Openbravo.properties#Others [^]
(0092640)
hudsonbot (developer)
2016-12-16 18:38

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-11-17 10:08 alostale New Issue
2016-11-17 10:08 alostale Assigned To => alostale
2016-11-17 10:08 alostale Modules => Core
2016-11-17 10:08 alostale Triggers an Emergency Pack => No
2016-11-17 10:08 alostale Tag Attached: clustering
2016-11-17 10:08 alostale Relationship added blocks 0034490
2016-11-17 10:09 alostale Relationship added related to 0029751
2016-11-17 10:14 alostale Steps to Reproduce Updated View Revisions
2016-11-17 10:14 alostale Review Assigned To => caristu
2016-11-17 10:18 hgbot Checkin
2016-11-17 10:18 hgbot Note Added: 0091624
2016-11-17 10:18 hgbot Status new => resolved
2016-11-17 10:18 hgbot Resolution open => fixed
2016-11-17 10:18 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/b07ef157bb9048ed2909b62104da4b9c8e5acd23 [^]
2016-11-21 14:07 caristu Note Added: 0091700
2016-11-21 14:07 caristu Status resolved => closed
2016-11-21 14:07 caristu Fixed in Version => 3.0PR17Q1
2016-11-21 14:12 caristu Note Added: 0091701
2016-12-16 18:38 hudsonbot Checkin
2016-12-16 18:38 hudsonbot Note Added: 0092640


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker