Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0018692
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminoralways2011-10-04 14:492012-04-26 11:49
Reporterlaurent coninView Statuspublic 
Assigned ToAugustoMauch 
PrioritynormalResolutionfixedFixed in Version3.0MP11
StatusclosedFix in branchpiFixed in SCM revisiona03c5bee8e36
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabasePostgreSQLJava version1.6.020
OS VersionUbuntu 10.04LTSDatabase version8.4Ant version1.8.0
Product Version3.0MP2.1SCM revision 
Review Assigned To
Web browserGoogle Chrome, Mozilla Firefox
ModulesHTML widget
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0018692: HTML Widget doesn't display record attribute in HtmlDisplay embeded in a Window Tab

DescriptionHTML 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 Solutionob-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);
TagsNo tags attached.
Attached Fileszip file icon org.openbravo.test.issue18692.zip [^] (7,538 bytes) 2012-04-16 16:23

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(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 (manager)
2012-04-16 16:23

Reopened to attach a module
(0047593)
AugustoMauch (manager)
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 (developer)
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 (manager)
2012-04-26 11:49

Code reviewed and verified on pi@d02dd5df46fe

- Issue History
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
Powered by Mantis Bugtracker