Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0016786 | Openbravo ERP | A. Platform | public | 2011-04-12 18:11 | 2012-10-10 13:01 |
|
Reporter | elopio | |
Assigned To | dbaz | |
Priority | normal | Severity | major | Reproducibility | N/A |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | pi | |
Target Version | | Fixed in Version | 3.0MP15 | |
Merge Request Status | |
Review Assigned To | guilleaer |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0016786: Set a name to the iframe that contains the classic window |
Description | When a classic view is opened, it is loaded on the frame with name "appFrame".
This is a child of a iframe that has no name:
<iframe height="100%" frameborder="0" width="100%" scrolling="auto" src="/qa-pi-inc-oracle/security/Menu.html?url=/ad_forms/ModuleManagement.html&noprefs=true&hideMenu=true&Command=DEFAULT" style="height: 242px;">
This makes it difficult for the automated tests to select the classic frame, because there is no reliable way to select the parent iframe. |
Steps To Reproduce | Open a classic window, for example Module Management.
Inspect the HTML with firebug, searching for the appFrame and its parent iframe. |
Proposed Solution | Set a name to the iframe. |
Additional Information | |
Tags | OB3-Reviewed |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2011-04-12 18:11 | elopio | New Issue | |
2011-04-12 18:11 | elopio | Assigned To | => alostale |
2011-04-12 18:11 | elopio | Modules | => Core |
2011-04-12 18:11 | elopio | Note Added: 0035869 | |
2011-04-13 08:58 | elopio | Note Added: 0035883 | |
2011-04-14 11:53 | alostale | Target Version | => 3.0RC7 |
2011-04-14 11:53 | alostale | Description Updated | bug_revision_view_page.php?rev_id=1848#r1848 |
2011-04-14 11:53 | alostale | Status | new => scheduled |
2011-04-14 11:53 | alostale | Assigned To | alostale => dbaz |
2011-04-14 11:53 | alostale | fix_in_branch | => pi |
2011-04-15 09:35 | elopio | Note Added: 0035965 | |
2011-04-15 10:27 | iperdomo | Note Added: 0035967 | |
2011-04-15 13:29 | dbaz | Note Added: 0035979 | |
2011-04-19 02:34 | elopio | Note Added: 0036012 | |
2011-05-05 18:25 | dmitry_mezentsev | Note Added: 0036430 | |
2011-05-05 18:25 | dmitry_mezentsev | Target Version | 3.0RC7 => 3.0MP0 |
2011-05-05 18:25 | dmitry_mezentsev | fix_in_branch | pi => |
2011-05-17 09:15 | iperdomo | Priority | urgent => normal |
2011-05-23 16:41 | plujan | Target Version | 3.0MP0 => 3.0MP1 |
2011-06-22 19:57 | dmitry_mezentsev | Target Version | 3.0MP1 => 3.0MP2 |
2011-07-20 12:32 | dbaz | Target Version | 3.0MP2 => 3.0MP3 |
2011-08-31 13:51 | dbaz | Target Version | 3.0MP3 => |
2011-10-28 20:13 | iciordia | Tag Attached: OB3-Reviewed | |
2012-05-23 23:37 | shuehner | Issue Monitored: shuehner | |
2012-08-13 15:01 | dbaz | Closed by | => AugustoMauch |
2012-08-13 15:02 | hgbot | Checkin | |
2012-08-13 15:02 | hgbot | Note Added: 0051263 | |
2012-08-13 15:02 | hgbot | Status | scheduled => resolved |
2012-08-13 15:02 | hgbot | Resolution | open => fixed |
2012-08-13 15:02 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/d28bc1767d0a2e67b5092e681d13a2e9be70cca8 [^] |
2012-08-30 12:35 | guilleaer | Closed by | AugustoMauch => guilleaer |
2012-08-30 12:35 | guilleaer | Note Added: 0051675 | |
2012-08-30 12:35 | guilleaer | Status | resolved => closed |
2012-08-30 12:35 | guilleaer | Fixed in Version | => 3.0MP15 |
2012-10-10 13:01 | hgbot | Checkin | |
2012-10-10 13:01 | hgbot | Note Added: 0053201 | |
Notes |
|
(0035869)
|
elopio
|
2011-04-12 18:11
|
|
Priority set to urgent because it is making the smoke test fail often. |
|
|
(0035883)
|
elopio
|
2011-04-13 08:58
|
|
On Module Management, the contents of the popups Module Details, Install Module and Rebuild the System are inside a frame called "BUTTON". It is also inside an iframe without name. Please set the name to these iframes too. |
|
|
(0035965)
|
elopio
|
2011-04-15 09:35
|
|
The OBClassicPopUps are also inside a frame called "process", whose parent again is an iframe without name. This happens, for example, on the Fiscal Calendar Year Create Periods popup. |
|
|
|
|
|
(0035979)
|
dbaz
|
2011-04-15 13:29
|
|
Two problems here:
* The iframe you refeer is the one generated by Smartclient HTMLFlow
* A modal popup can open another modal popup... and here if they share the name maybe you have a problem if they share the name...
What is always right now is:
<frame id="MDIPopupContainer" name="xx">
where name is different depending how is the classic window build... could you access to id="MDIPopupContainer" which is always the same?
In case you can't, there is also a
<frame id="paramFrameMenuLoading" scrolling="no" src="/pi-statusbar/utility/VerticalMenu.html?Command=HIDE" name="frameMenu">
which is fixed always (id and name)... could you access to it and go up? |
|
|
(0036012)
|
elopio
|
2011-04-19 02:34
|
|
@iperdomo, I didn't know about that function. I'll try it and see if it's possible with selenium to select the iframe that way.
I need to access the iframe because with Selenium2 we have to select the frames before accessing the elements. So currently, I'm stepping through all the iframes in the page to see which one contains the frame I'm looking for, because I can only access them with the index and it changes.
@dbaz, I can access those frames without issues. The problem is with the iframes. I first have to select the iframe and then the frame.
Thanks for your answers. I will report back. |
|
|
|
|
|
(0051263)
|
hgbot
|
2012-08-13 15:02
|
|
Repository: erp/devel/pi
Changeset: d28bc1767d0a2e67b5092e681d13a2e9be70cca8
Author: David Baz Fayos <david.baz <at> openbravo.com>
Date: Mon Aug 13 15:02:23 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/d28bc1767d0a2e67b5092e681d13a2e9be70cca8 [^]
Fixed issue 16786: Added 'name' to the iframe containing OBClassicPopup
---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/classic/ob-classic-compatibility.js
---
|
|
|
|
verified in pi@1549d7119a63 |
|
|
(0053201)
|
hgbot
|
2012-10-10 13:01
|
|
|