Project:
| View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | ||||||||
| 0011459 | ||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
| defect | [Openbravo ERP] Z. Others | major | have not tried | 2009-11-23 12:10 | 2009-12-12 00:00 | |||
| Reporter | marvintm | View Status | public | |||||
| Assigned To | shuehner | |||||||
| Priority | normal | Resolution | fixed | Fixed in Version | ||||
| Status | closed | Fix in branch | Fixed in SCM revision | 098732b07ee1 | ||||
| Projection | none | ETA | none | Target Version | ||||
| OS | Any | Database | Any | Java version | ||||
| OS Version | Database version | Ant version | ||||||
| Product Version | 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 | 0011459: If an entry is added in Available Updates in Butler, when heartbeat requests an update there is an error because of UUIDs | |||||||
| Description | If an entry is added in Available Updates in Butler, for a component (ex. Java), and then an Openbravo instance requests the available updates, there is an exception in Butler, because it's trying to get a Long from the UUID. The getAvailableUpdates() method in class org.openbravo.butler.heartbeat is wrong, because of this line: long id = Long.valueOf(datum.adAvailableUpdateId); (line 186). | |||||||
| Steps To Reproduce | - Add an entry in Available Updates window in butler for a component different from Openbravo (ex. Java). - In an Openbravo instance, disable and enable heartbeat again. This will trigger a request that will fail. Check tomcat (catalina.out) log in Butler server to see the exception. | |||||||
| Proposed Solution | At least that method needs to be changed in Butler. | |||||||
| Tags | No tags attached. | |||||||
| Attached Files | ||||||||
Relationships [ Relation Graph ]
[ Dependency Graph ]
|
|||||||||||||||
|
|||||||||||||||
Notes |
|
|
(0022181) shuehner (administrator) 2009-11-26 13:29 |
Not only this single Long.valueOf needs to be fixed, the complete Component.java uses numeric id's which doesn't work with uuids. |
|
(0022236) hgbot (developer) 2009-11-27 17:37 |
Repository: erp/pmods/org.openbravo.butler Changeset: 098732b07ee157494c29992bc6ea00be07c265f9 Author: Stefan Hühner <stefan.huehner <at> openbravo.com> Date: Fri Nov 27 17:36:44 2009 +0100 URL: http://code.openbravo.com/erp/pmods/org.openbravo.butler/rev/098732b07ee157494c29992bc6ea00be07c265f9 [^] Fixed 11515, Fixed 11459: Fix incoming heartbeat and available updates - Fix parsing code for incoming os.version - Convert 'available update notification' code to works with 2.50 (UUIDs) - add junit testcase for 11515 issue --- M src-test/org/openbravo/butler/heartbeat/test/HeartbeatTest.java M src/org/openbravo/butler/hearbeat/Component.java M src/org/openbravo/butler/hearbeat/HeartbeatServlet.java M src/org/openbravo/butler/hearbeat/UpdateService.java --- |
|
(0022699) iperdomo (viewer) 2009-12-11 12:33 |
Tested on pi @ rev bc363efd9e77 |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2009-11-23 12:10 | marvintm | New Issue | |
| 2009-11-23 12:10 | marvintm | Assigned To | => rafaroda |
| 2009-11-23 12:10 | marvintm | OBNetwork customer | => No |
| 2009-11-25 12:34 | shuehner | Issue Monitored: shuehner | |
| 2009-11-25 12:35 | shuehner | Relationship added | related to 0011449 |
| 2009-11-26 13:27 | shuehner | Relationship added | related to 0011515 |
| 2009-11-26 13:29 | shuehner | Note Added: 0022181 | |
| 2009-11-26 18:24 | shuehner | Assigned To | rafaroda => shuehner |
| 2009-11-27 17:37 | hgbot | Checkin | |
| 2009-11-27 17:37 | hgbot | Note Added: 0022236 | |
| 2009-11-27 17:37 | hgbot | Status | new => resolved |
| 2009-11-27 17:37 | hgbot | Resolution | open => fixed |
| 2009-11-27 17:37 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.butler/rev/098732b07ee157494c29992bc6ea00be07c265f9 [^] |
| 2009-12-11 12:33 | iperdomo | Note Added: 0022699 | |
| 2009-12-11 12:33 | iperdomo | Status | resolved => closed |
| 2009-12-12 00:00 | anonymous | sf_bug_id | 0 => 2912999 |
| Copyright © 2000 - 2009 MantisBT Group |