Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0012383Openbravo ERPA. Platformpublic2010-02-22 12:562010-04-09 00:00
gmauleon 
dbaz 
immediatemajorhave not tried
closedfixed 
5
 
2.50MP142.50MP15 
Core
No
0012383: The JS openServletNewWindow not working with new naming rule
When Aplying the new naming rules to our module, a button within the form is using the JS openServletNewWindow its not working with the following error

"/openbravo/org.openbravo.growthmachine/utility/PopupLoading.html"
No tags attached.
blocks defect 0012712 closed dalsasua Modules Error when accessing to any window 
Issue History
2010-02-22 12:56gmauleonNew Issue
2010-02-22 12:56gmauleonAssigned To => alostale
2010-02-22 14:56alostaleAssigned Toalostale => dbaz
2010-02-22 14:56alostaleNote Added: 0024695
2010-02-23 12:15hgbotCheckin
2010-02-23 12:15hgbotNote Added: 0024740
2010-02-23 12:15hgbotStatusnew => resolved
2010-02-23 12:15hgbotResolutionopen => fixed
2010-02-23 12:15hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/f9187aa87fe8d3cee700ab5ef6766944212e4fb4 [^]
2010-03-08 16:06jpabloaeTarget Version2.50MP13 => 2.50MP14
2010-03-12 22:39hudsonbotCheckin
2010-03-12 22:39hudsonbotNote Added: 0025307
2010-04-08 17:15shuehnerNote Added: 0025988
2010-04-08 17:15shuehnerStatusresolved => closed
2010-04-08 17:15shuehnerFixed in Version => 2.50MP15
2010-04-09 00:00anonymoussf_bug_id0 => 2984165
2010-04-09 11:56adrianromeroRelationship addedblocks 0012712

Notes
(0024695)
alostale   
2010-02-22 14:56   
The problem seems to be in Openpopup js (utils.js), it tries to open the PopupLoading.html servlet in a relative manner:

var urlLoading = '../utility/PopupLoading.html';

It should look its absolute path:

var urlLoading = '/utility/PopupLoading.html';

Please, review also other relative paths in our JavaScript functions.
(0024740)
hgbot   
2010-02-23 12:15   
Repository: erp/devel/pi
Changeset: f9187aa87fe8d3cee700ab5ef6766944212e4fb4
Author: David Baz Fayos <david.baz <at> openbravo.com>
Date: Tue Feb 23 12:13:46 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/f9187aa87fe8d3cee700ab5ef6766944212e4fb4 [^]

Fixed issue 12383: Added absolute urls to utils.js related functions

---
M src/org/openbravo/erpCommon/security/Login_F1.html
M src/org/openbravo/erpCommon/utility/VerticalMenu.html
M web/js/utils.js
---
(0025307)
hudsonbot   
2010-03-12 22:39   
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/f9187aa87fe8 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/631c626866c1 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.16685.obx [^]
(0025988)
shuehner   
2010-04-08 17:15   
Tested with module provided by reporter that issue itself is fixed. Additionally checked use of changed code-parts by opening each url at least once.