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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0019315
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminorhave not tried2011-12-15 20:072012-02-28 08:36
ReportershuehnerView Statuspublic 
Assigned ToAugustoMauch 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revision--
ProjectionnoneETAnoneTarget Version3.0MP9
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version3.0MP6SCM revision 
Review Assigned To
Web browserMozilla Firefox
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0019315: The 'Take a look around' & 'Show me how' links in the 'Getting started widget' are broken on FF8

DescriptionBoth in demo.openbravo.com and live.builds.openbravo.com after login the 'Getting started' widget is shown by default in the top-right part of the Workspace.

In there are two links:
'Take a look around'
'Show me how'

Both are working fine when used with chromium but do not work when being used with Firefox 8.0.

When used in FF8 they do open a new view tab as normal but this just shows loading forever.
Additionally after opening the new application tab some kind of extra 5* 1px something is shown to the right of that new tab (see 1px 'artefact' in the right part of attached screenshot).
Those 5 artefacts are still present after closing that non-functioning view tab.

Clicking them seems to not to anything.
However when reloading the complete browser tab the system tries to restore that state and open 5 view-tabs named 'OBGettingStartedView' and displays the following stacktrace to the user (also 5 times). See second screenshot for detail.

contentsURL parameter is required
Stack trace:


    OBGettingStartedView.initWidget(args=>Obj, undef, undef, undef, undef, undef, undef, undef, undef, undef, undef, undef, undef)
    Canvas.init(_1=>Obj, _2=>undef, _3=>undef, _4=>undef, _5=>undef, _6=>undef, _7=>undef, _8=>undef, _9=>undef, _10=>undef, _11=>undef, _12=>undef, _13=>undef)
    Class.completeCreation(_1=>Obj, _2=>undef, _3=>undef, _4=>undef, _5=>undef, _6=>undef, _7=>undef, _8=>undef, _9=>undef, _10=>undef, _11=>undef, _12=>undef, _13=>undef)
    [c]Class.create(_1=>Obj, _2=>undef, _3=>undef, _4=>undef, _5=>undef, _6=>undef, _7=>undef, _8=>undef, _9=>undef, _10=>undef, _11=>undef, _12=>undef, _13=>undef)
    showTab(viewName=>"OBGettingStartedView", params=>Obj, state=>undef)
    getView(viewName=>"OBGettingStartedView", params=>Obj, state=>undef)
    getView(viewName=>"OBGettingStartedView", params=>Obj, state=>undef)
    [a]Canvas.openView()
    [c]Class.fireCallback(_1=>[a]Canvas.openView(), _2=>undef, _3=>Array[0], _4=>[Canvas ID:isc_Canvas_1], _5=>undef) on [Class EventHandler]
    [c]Class.$cm()
    ** recursed on [c]Class.fireCallback


Steps To ReproduceSee description for all details.
TagsNo tags attached.
Attached Filespng file icon 19315_1.png [^] (5,015 bytes) 2011-12-15 20:07


png file icon 19315_2.png [^] (144,646 bytes) 2011-12-15 20:07

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0044267)
dmitry_mezentsev (developer)
2012-01-11 16:14

Visible in the Demo which is Professional Instance so set it as OBPS=Y.

With FF9.0.1 happens the same.
(0045347)
AugustoMauch (manager)
2012-02-22 11:31

The problem was due to the creation of the params parameter of ob-view-manager.js. It expected and object, but the widget was creating an array with properties.

In the showTab function a shallow clone of params was done. In Chrome it worked fine, but in firefox if a shallow clone of an array with properties is done, the array returned loses its properties.

The action-proxy.js file has been modified in butler. Instead of creating an array and then adding properties to it using put, an object is created and the properties are added using the params[keyName] = value notation.
(0045348)
AugustoMauch (manager)
2012-02-22 11:34

The change only affects the Getting Started widget. It has been tested successfully both in Chrome and in Firefox.

This fix is not risky.
(0045493)
alostale (manager)
2012-02-28 08:36

Fixed in butler server, tested and code reviewed.

- Issue History
Date Modified Username Field Change
2011-12-15 20:07 shuehner New Issue
2011-12-15 20:07 shuehner Assigned To => alostale
2011-12-15 20:07 shuehner Web browser => Mozilla Firefox
2011-12-15 20:07 shuehner Modules => Core
2011-12-15 20:07 shuehner File Added: 19315_1.png
2011-12-15 20:07 shuehner File Added: 19315_2.png
2012-01-11 16:14 dmitry_mezentsev Web browser Mozilla Firefox => Mozilla Firefox
2012-01-11 16:14 dmitry_mezentsev Note Added: 0044267
2012-02-15 14:20 jonalegriaesarte Web browser Mozilla Firefox => Mozilla Firefox
2012-02-15 14:20 jonalegriaesarte Target Version => 3.0MP9
2012-02-16 10:14 alostale Assigned To alostale => AugustoMauch
2012-02-22 11:31 AugustoMauch Note Added: 0045347
2012-02-22 11:34 AugustoMauch Note Added: 0045348
2012-02-22 11:38 AugustoMauch Status new => scheduled
2012-02-22 11:38 AugustoMauch fix_in_branch => pi
2012-02-22 11:39 AugustoMauch Status scheduled => resolved
2012-02-22 11:39 AugustoMauch Fixed in Version => 3.0MP9
2012-02-22 11:39 AugustoMauch Fixed in SCM revision => --
2012-02-22 11:39 AugustoMauch Resolution open => fixed
2012-02-28 08:36 alostale Note Added: 0045493
2012-02-28 08:36 alostale Status resolved => closed
2012-02-28 08:36 alostale Fixed in Version 3.0MP9 =>


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker