Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0013989 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | major | always | 2010-07-16 18:54 | 2010-08-12 00:00 | |||
Reporter | iperdomo | View Status | public | |||||
Assigned To | alostale | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | acbf6d8e8822 | ||||
Projection | none | ETA | none | Target Version | ||||
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 | pi | SCM revision | ||||||
Review Assigned To | ||||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0013989: The generated HTML code of the refresh button is different when using the new layout | |||||||
Description | When using the new layout, the 'classic' refresh button is hidden, and a new refresh button is added to the toolbar. The generated HTML from the classic and new button is different. In the classic layout the id="buttonRefresh" is assigned to a <A> tag that contains a <IMG> inside. Note: the the link <A> has the javascript onclick handler. When using the new layout the generated id is in the opposite order, the id="buttonRefresh" is assigned to the <IMG> tag, and the <A> still contains the javascript handler onclick, and this makes the code that this code fails: getElementById("buttonRefresh").onclick(); | |||||||
Steps To Reproduce | * Using the new layout, try to execute in a generated window the following code: typeof getElementById("buttonRefresh").onclick() It should return "function" eg. in classic layout: >>> typeof appFrame.document.getElementById("buttonRefresh").onclick "function" | |||||||
Proposed Solution | Attached you'll find a "partial" solution. Needs to be rechecked and discussed. | |||||||
Tags | No tags attached. | |||||||
Attached Files | Toolbar.diff [^] (1,819 bytes) 2010-07-16 18:54 [Show Content] | |||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||||||||||||||||
|
Notes | |
(0029662) hgbot (developer) 2010-07-29 10:50 |
Repository: erp/devel/pi Changeset: acbf6d8e882270a802380082359732da68987e29 Author: Asier Lostalé <asier.lostale <at> openbravo.com> Date: Thu Jul 29 10:50:08 2010 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/acbf6d8e882270a802380082359732da68987e29 [^] fixed bug 13989: refresh button is different when using the new layout Make an special case when generating toolbar for refresh button id, in order to use the same id as it was used in the 2.50 layout. --- M src/org/openbravo/erpCommon/utility/ToolBar_Button.java M src/org/openbravo/erpCommon/utility/ToolBar_Image.java --- |
(0029686) hudsonbot (developer) 2010-07-29 22:17 |
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/acbf6d8e8822 [^] Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/5b23128e2fc6 [^] Tests: http://builds.openbravo.com/view/int/ [^] OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17934.obx [^] |
(0029883) iperdomo (reporter) 2010-08-11 10:47 |
Tested on pi @ rev a45ffdf7b265 |
Issue History | |||
Date Modified | Username | Field | Change |
2010-07-16 18:54 | iperdomo | New Issue | |
2010-07-16 18:54 | iperdomo | Assigned To | => alostale |
2010-07-16 18:54 | iperdomo | File Added: Toolbar.diff | |
2010-07-16 18:55 | shuehner | Relationship added | related to 0013988 |
2010-07-16 18:55 | iperdomo | Relationship added | related to 0013891 |
2010-07-19 08:25 | alostale | Status | new => scheduled |
2010-07-29 10:50 | hgbot | Checkin | |
2010-07-29 10:50 | hgbot | Note Added: 0029662 | |
2010-07-29 10:50 | hgbot | Status | scheduled => resolved |
2010-07-29 10:50 | hgbot | Resolution | open => fixed |
2010-07-29 10:50 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/acbf6d8e882270a802380082359732da68987e29 [^] |
2010-07-29 22:17 | hudsonbot | Checkin | |
2010-07-29 22:17 | hudsonbot | Note Added: 0029686 | |
2010-08-11 10:47 | iperdomo | Note Added: 0029883 | |
2010-08-11 10:47 | iperdomo | Status | resolved => closed |
2010-08-11 15:49 | iperdomo | Relationship added | related to 0014010 |
2010-08-12 00:00 | anonymous | sf_bug_id | 0 => 3043343 |
Copyright © 2000 - 2009 MantisBT Group |