Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0013618 | Openbravo ERP | A. Platform | public | 2010-06-11 10:21 | 2010-06-16 00:00 |
|
Reporter | iperdomo | |
Assigned To | iperdomo | |
Priority | urgent | Severity | major | Reproducibility | sometimes |
Status | closed | Resolution | fixed | |
Platform | | OS | 20 | OS Version | 2.6.30-gentoo-r5 |
Product Version | 2.50MP18 | |
Target Version | 2.50MP19 | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | No |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0013618: [HB] Problems with Heartbeat and misfired process requests and deactivation |
Description | * The way to identify if Heartbeat is enabled, is: Heartbeat is active at AD_System_Info, and there is a Scheduled process request (to send the beats periodically). This check doesn't take into account if the HB process request is in status Misfired (MIS).
* If you want to install a module this check fails on Misfired process requests, tells the user that Heartbeat is not enabled, the user enables it again, so the process creates a new process request
* The deactivation of heartbeat requires a double execution, due to a wrong logic |
Steps To Reproduce | * Update the heartbeat process request to Misfired (MIS) status
* Try to install a module
* You'll see that asks to enable Heartbeat again (wrong)
* Try to disable Hearbeat from the Menu, you'll see that you need to execute the process twice (wrong) |
Proposed Solution | * Consider a misfired (MIS) process request |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0013616 | 2.50MP19 | closed | iperdomo | Misfired process requests are not handled properly |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2010-06-11 10:21 | iperdomo | New Issue | |
2010-06-11 10:21 | iperdomo | Assigned To | => iperdomo |
2010-06-11 10:21 | iperdomo | OBNetwork customer | => No |
2010-06-11 10:21 | iperdomo | Status | new => scheduled |
2010-06-11 10:21 | iperdomo | fix_in_branch | => pi |
2010-06-11 10:22 | iperdomo | Priority | normal => urgent |
2010-06-11 10:22 | iperdomo | fix_in_branch | pi => |
2010-06-11 10:22 | iperdomo | Relationship added | related to 0013616 |
2010-06-11 12:22 | hgbot | Checkin | |
2010-06-11 12:22 | hgbot | Note Added: 0028301 | |
2010-06-11 12:22 | hgbot | Status | scheduled => resolved |
2010-06-11 12:22 | hgbot | Resolution | open => fixed |
2010-06-11 12:22 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/eb3434537214a27de070bf27c1bd201abe7ea36d [^] |
2010-06-11 12:22 | hgbot | Checkin | |
2010-06-11 12:22 | hgbot | Note Added: 0028302 | |
2010-06-12 22:48 | hudsonbot | Checkin | |
2010-06-12 22:48 | hudsonbot | Note Added: 0028328 | |
2010-06-12 22:48 | hudsonbot | Checkin | |
2010-06-12 22:48 | hudsonbot | Note Added: 0028329 | |
2010-06-15 19:10 | shuehner | Note Added: 0028469 | |
2010-06-15 19:10 | shuehner | Status | resolved => closed |
2010-06-16 00:00 | anonymous | sf_bug_id | 0 => 3016774 |
Notes |
|
(0028301)
|
hgbot
|
2010-06-11 12:22
|
|
Repository: erp/devel/pi
Changeset: eb3434537214a27de070bf27c1bd201abe7ea36d
Author: Iván Perdomo <ivan.perdomo <at> openbravo.com>
Date: Fri Jun 11 11:20:26 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/eb3434537214a27de070bf27c1bd201abe7ea36d [^]
Fixes issue 13618: Fixes problem with misfired status, and double deactivation
The Heartbeat process could be in misfired status, this status is now
considered when evaluating if is enabled. The double deactivation was due to a
wrong logic when checking the request.
---
M src/org/openbravo/erpCommon/ad_process/HeartbeatProcess.java
M src/org/openbravo/erpCommon/ad_process/TestHeartbeat.java
---
|
|
|
(0028302)
|
hgbot
|
2010-06-11 12:22
|
|
|
|
|
|
|
|
|
|
|
Tested on pi/pgsql (rev: 8964c21d177f)
Tested, that:
- Using 'Enable Heartbeat' / 'Disable Heartbeat' does the correct action on the first try (update ad_system_info & update process_request)
- And the those action do also update the process_request correctly if the old process request was in state MIS (misfired) instead of scheduled or unscheduled.
All working fine -> Closing |
|