Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0014756Openbravo ERPB. User interfacepublic2010-10-04 13:062010-10-08 20:59
dbaz 
dbaz 
immediatecriticalalways
closedfixed 
5
 
pi 
Core
No
0014756: getAppUrl() doesn't run inside Popups and IE
getAppUrl() returns null when is called from an opened Popup

The problem root is inside getAppUrl function (in utils.js)

In all browsers when it is called from a form,
typeof menuFrame.getAppUrlFromMenu === "function"

but in IE when it is called from a popup
typeof menuFrame.getAppUrlFromMenu === "object"
Install Advanced Payables and Receivables Management 1.0.6

Go to Financial Management || Receivables & Paya Transactions || Financial Account
Go to "Transactions" tab
Press "Add Transactions" button (a popup appears)
Press "Add Payment" button

No tags attached.
Issue History
2010-10-04 13:06dbazNew Issue
2010-10-04 13:06dbazAssigned To => dbaz
2010-10-04 13:15hgbotCheckin
2010-10-04 13:15hgbotNote Added: 0031570
2010-10-04 13:15hgbotStatusnew => resolved
2010-10-04 13:15hgbotResolutionopen => fixed
2010-10-04 13:15hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/578dcf9eafaeb8b617e12cb78cb831ecaa0f9b12 [^]
2010-10-04 17:05miruritaNote Added: 0031577
2010-10-04 17:05miruritaStatusresolved => closed
2010-10-04 17:05miruritaFixed in Version => pi
2010-10-05 00:00anonymoussf_bug_id0 => 3081160
2010-10-08 20:59hudsonbotCheckin
2010-10-08 20:59hudsonbotNote Added: 0031713

Notes
(0031570)
hgbot   
2010-10-04 13:15   
Repository: erp/devel/pi
Changeset: 578dcf9eafaeb8b617e12cb78cb831ecaa0f9b12
Author: David Baz Fayos <david.baz <at> openbravo.com>
Date: Mon Oct 04 13:14:33 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/578dcf9eafaeb8b617e12cb78cb831ecaa0f9b12 [^]

Fixes issue 14756: Now getAppUrl works ok in popups and IE

---
M src/org/openbravo/erpCommon/security/Login_F1.html
M web/js/utils.js
---
(0031577)
mirurita   
2010-10-04 17:05   
Tested on IE 8 with APRM installed and working fine.

Steps:
1) Go to Financial Management || Receivables & Payables || Transactions || Financial Account || Account >> Transactions
2) Click on Add Transaction button
3) In the popup click on Add Payment button. Another popup should appear.
(0031713)
hudsonbot   
2010-10-08 20:59   
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/578dcf9eafae [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/f476e192559f [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.18505.obx [^]