Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0013618 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | major | sometimes | 2010-06-11 10:21 | 2010-06-16 00:00 | |||
Reporter | iperdomo | View Status | public | |||||
Assigned To | iperdomo | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | eb3434537214 | ||||
Projection | none | ETA | none | Target Version | 2.50MP19 | |||
OS | Linux 32 bit | Database | PostgreSQL | Java version | 1.6.0_15 | |||
OS Version | 2.6.30-gentoo-r5 | Database version | 8.3.8 | Ant version | 1.7.1 | |||
Product Version | 2.50MP18 | SCM revision | ||||||
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 | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0028301) hgbot (developer) 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 (developer) 2010-06-11 12:22 |
Repository: erp/devel/pi Changeset: 3b82a8f8e67f79c24b1b07207318e6ea9710e7f7 Author: Iván Perdomo <ivan.perdomo <at> openbravo.com> Date: Fri Jun 11 11:29:01 2010 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/3b82a8f8e67f79c24b1b07207318e6ea9710e7f7 [^] Related to issue 13618: Restored public constants --- M src/org/openbravo/erpCommon/ad_process/HeartbeatProcess.java --- |
(0028328) hudsonbot (viewer) 2010-06-12 22:48 |
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated: Changeset: http://code.openbravo.com/erp/devel/main/rev/eb3434537214 [^] Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/0b85119b92bc [^] Tests: http://builds.openbravo.com/view/int/ [^] OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17589.obx [^] |
(0028329) hudsonbot (viewer) 2010-06-12 22:48 |
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated: Changeset: http://code.openbravo.com/erp/devel/main/rev/3b82a8f8e67f [^] Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/0b85119b92bc [^] Tests: http://builds.openbravo.com/view/int/ [^] OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17589.obx [^] |
(0028469) shuehner (administrator) 2010-06-15 19:10 |
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 |
![]() |
|||
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 |
Copyright © 2000 - 2009 MantisBT Group |