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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0014160
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformmajoralways2010-08-11 20:212010-08-17 00:00
ReporterelopioView Statuspublic 
Assigned Todbaz 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision68c8c4203f91
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabasePostgreSQLJava version
OS VersionDatabase versionAnt version
Product Version3.0RC1SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0014160: "arrMessages is undefined" error when openning a window

DescriptionWhen openning a window from the navigation bar menu, the following error is received if the mouse is over the tabs of the window:

Error received in IO response:
arrMessages is undefined
Steps To ReproduceLogin to openbravo 3.0 RC1
Open a window from the menu. For example, Application Dictionary > Tables and Columns
Just after clicking the menu item move the mouse to the top of the screen. Here the message does not appear.

Now close the Tables and Columns window.
Click again Application Dictionary > Tables and Columns from the menu.
Just after clicking the menu item move the mouse over the tab "Table"
The error message appears (see attachment)

It disappears clicking the reload button.
Once the error message appears once, every opened window will show it. Only clearing the cache makes it possible to open windows without the error.
TagsNo tags attached.
Attached Filespng file icon arrMessages.png [^] (36,665 bytes) 2010-08-11 20:21


diff file icon messages.js.diff [^] (373 bytes) 2010-08-12 11:27 [Show Content]
diff file icon 14160.diff [^] (896 bytes) 2010-08-12 11:58 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0013712 closediperdomo DirectLinking has race condition between opened window and the menuFrame content. 

-  Notes
(0029907)
plujan (manager)
2010-08-12 11:10

Priority changed to Urgent
(0029909)
iperdomo (reporter)
2010-08-12 11:27

Proposed solution in the attached .diff
(0029912)
iperdomo (reporter)
2010-08-12 11:59
edited on: 2010-08-12 12:04

The second diff (14160.diff) also fixes a failed call to getAppUrl() when the menu is not present. This call is not needed since all the required data for building a "manual url" is in the location itself

More info about the Location object properties at
https://developer.mozilla.org/en/window.location#Location_object [^]

(0029955)
hgbot (developer)
2010-08-13 14:34

Repository: erp/devel/pi
Changeset: 68c8c4203f9137e13d81e497816169e299e612b0
Author: David Baz Fayos <david.baz <at> openbravo.com>
Date: Fri Aug 13 14:34:37 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/68c8c4203f9137e13d81e497816169e299e612b0 [^]

Fixed issue 14160: Now there is no error msgbox in grid if frameMenu is not avaialable

---
M src/org/openbravo/erpCommon/security/Login_F1.html
M web/js/messages.js
M web/js/utils.js
---
(0029960)
hudsonbot (developer)
2010-08-13 21:05

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/68c8c4203f91 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/3ca7a8ff74e7 [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.18155.obx [^]
(0029977)
iperdomo (reporter)
2010-08-16 09:14

Tested on pi @ rev 905bba2e13c2

- Issue History
Date Modified Username Field Change
2010-08-11 20:21 elopio New Issue
2010-08-11 20:21 elopio Assigned To => alostale
2010-08-11 20:21 elopio File Added: arrMessages.png
2010-08-11 20:21 elopio Relationship added related to 0010138
2010-08-12 07:46 alostale Status new => scheduled
2010-08-12 07:46 alostale Assigned To alostale => dbaz
2010-08-12 07:46 alostale fix_in_branch => pi
2010-08-12 11:05 iperdomo Relationship added related to 0013712
2010-08-12 11:10 plujan Note Added: 0029907
2010-08-12 11:10 plujan Priority immediate => urgent
2010-08-12 11:10 plujan fix_in_branch pi =>
2010-08-12 11:27 iperdomo File Added: messages.js.diff
2010-08-12 11:27 iperdomo Note Added: 0029909
2010-08-12 11:58 iperdomo File Added: 14160.diff
2010-08-12 11:59 iperdomo Note Added: 0029912
2010-08-12 12:04 iperdomo Note Edited: 0029912 View Revisions
2010-08-12 13:53 shuehner Relationship deleted related to 0010138
2010-08-13 14:34 hgbot Checkin
2010-08-13 14:34 hgbot Note Added: 0029955
2010-08-13 14:34 hgbot Status scheduled => resolved
2010-08-13 14:34 hgbot Resolution open => fixed
2010-08-13 14:34 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/68c8c4203f9137e13d81e497816169e299e612b0 [^]
2010-08-13 21:05 hudsonbot Checkin
2010-08-13 21:05 hudsonbot Note Added: 0029960
2010-08-16 09:14 iperdomo Note Added: 0029977
2010-08-16 09:14 iperdomo Status resolved => closed
2010-08-17 00:00 anonymous sf_bug_id 0 => 3046646


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker