Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0018692 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | minor | always | 2011-10-04 14:49 | 2012-04-26 11:49 | |||
Reporter | laurent conin | View Status | public | |||||
Assigned To | AugustoMauch | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 3.0MP11 | |||
Status | closed | Fix in branch | pi | Fixed in SCM revision | a03c5bee8e36 | |||
Projection | none | ETA | none | Target Version | ||||
OS | Linux 32 bit | Database | PostgreSQL | Java version | 1.6.020 | |||
OS Version | Ubuntu 10.04LTS | Database version | 8.4 | Ant version | 1.8.0 | |||
Product Version | 3.0MP2.1 | SCM revision | ||||||
Merge Request Status | ||||||||
Review Assigned To | ||||||||
OBNetwork customer | No | |||||||
Web browser | Google Chrome, Mozilla Firefox | |||||||
Modules | HTML widget | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0018692: HTML Widget doesn't display record attribute in HtmlDisplay embeded in a Window Tab | |||||||
Description | HTML Widget embeded in a window tab doesn't display record attribute using ${formValues.atributeName} syntax | |||||||
Steps To Reproduce | * create an HTML WIDGET . set FixedValue to {formValues.id} and EvaluateFixedValue to Yes * Embed it in a Tab following this tutorial http://wiki.openbravo.com/wiki/How_to_embed_a_Widget_into_a_Window_Tab [^] * Widget should display the id of the selelcted record, bus it is blank | |||||||
Proposed Solution | ob-html-widget.js line 53 use the setMethod setContent on Underlying HTMLFllow so that the display is refreshed <this.windowContents.contents = this.contentSource; >this.windowContents.setContents(this.contentSource); | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() | |||||||
![]() |
|
![]() |
|
(0047588) hgbot (developer) 2012-04-16 16:08 |
Repository: erp/devel/pi Changeset: a03c5bee8e36de52e16eeddee43f4a6ce01dfd4f Author: Augusto Mauch <augusto.mauch <at> openbravo.com> Date: Mon Apr 16 16:08:05 2012 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/a03c5bee8e36de52e16eeddee43f4a6ce01dfd4f [^] Fixes issue 18692: HTML widgets can be embeded in a form Prior to this fix, when an HTML widget whose html code had to be evaluated was embeded in a form, the contents of the widget were not shown. It has been changed the way the contents are included in the window, and now the HTML widget is working properly. --- M modules/org.openbravo.client.htmlwidget/web/org.openbravo.client.htmlwidget/js/ob-html-widget.js --- |
(0047591) AugustoMauch (administrator) 2012-04-16 16:23 |
Reopened to attach a module |
(0047593) AugustoMauch (administrator) 2012-04-16 16:26 |
Test plan: - Install the attached module. It was created following the steps described here: http://wiki.openbravo.com/wiki/How_to_embed_a_Widget_into_a_Window_Tab [^] - It creates a widget that has been embedded in the Unit of Measure window. When a record is opened in form view, it will show its id. - Check that the rest of defined html widgets (i.e. Getting Started) keep working as expected. |
(0047811) hudsonbot (viewer) 2012-04-21 14:23 |
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/2eb57286c1fc [^] Maturity status: Test |
(0048003) alostale (viewer) 2012-04-26 11:49 |
Code reviewed and verified on pi@d02dd5df46fe |
![]() |
|||
Date Modified | Username | Field | Change |
2011-10-04 14:49 | laurent conin | New Issue | |
2011-10-04 14:49 | laurent conin | Assigned To | => alostale |
2011-10-04 14:49 | laurent conin | Web browser | => Google Chrome, Mozilla Firefox |
2011-10-04 14:49 | laurent conin | Modules | => HTML widget |
2012-04-03 15:39 | alostale | Assigned To | alostale => AugustoMauch |
2012-04-16 16:08 | hgbot | Checkin | |
2012-04-16 16:08 | hgbot | Note Added: 0047588 | |
2012-04-16 16:08 | hgbot | Status | new => resolved |
2012-04-16 16:08 | hgbot | Resolution | open => fixed |
2012-04-16 16:08 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/a03c5bee8e36de52e16eeddee43f4a6ce01dfd4f [^] |
2012-04-16 16:23 | AugustoMauch | Note Added: 0047591 | |
2012-04-16 16:23 | AugustoMauch | Status | resolved => new |
2012-04-16 16:23 | AugustoMauch | Resolution | fixed => open |
2012-04-16 16:23 | AugustoMauch | File Added: org.openbravo.test.issue18692.zip | |
2012-04-16 16:23 | AugustoMauch | Status | new => scheduled |
2012-04-16 16:23 | AugustoMauch | fix_in_branch | => pi |
2012-04-16 16:23 | AugustoMauch | Status | scheduled => resolved |
2012-04-16 16:23 | AugustoMauch | Fixed in Version | => 3.0MP11 |
2012-04-16 16:23 | AugustoMauch | Resolution | open => fixed |
2012-04-16 16:26 | AugustoMauch | Note Added: 0047593 | |
2012-04-21 14:23 | hudsonbot | Checkin | |
2012-04-21 14:23 | hudsonbot | Note Added: 0047811 | |
2012-04-26 11:49 | alostale | Note Added: 0048003 | |
2012-04-26 11:49 | alostale | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |