Project

General

Profile

Actions

Bug #41629

closed

TYPO3-Workspaces height of iframe to small

Added by Alessandro Schmitz about 12 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Workspaces
Target version:
-
Start date:
2012-10-05
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

I've found a bug in IE 7-9 with the preview-page of TYPO3-Workspaces.

The content of the webpage is displayed in an iframe without height.
This makes the IE get crazy and show the page with a height of 150px (see screenshot).

Tested in TYPO3-Version 4.5.15 and 4.7.1

Edit:

Was tested with 6.2.3 by Kaan Sanli with different browsers and resulted in same issue.


Files

issue-ie-workspaces.PNG (32.1 KB) issue-ie-workspaces.PNG Alessandro Schmitz, 2012-10-05 17:16

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #44745: Slider split preview uses only part of the available heightClosed2013-01-23

Actions
Related to TYPO3 Core - Bug #78736: IFrame has no height in Workspace preview in multidomain installationClosed2016-11-17

Actions
Actions #1

Updated by Steffen Gebert about 12 years ago

  • Status changed from New to Needs Feedback

Thanks for your report Allessandro!

Could you please check the most recent version of TYPO3, too? Could you have a look at the IE Developer Tools, whether JavaScript errors occur?

Thanks
Steffen

Actions #2

Updated by Steffen Gebert about 12 years ago

  • Project changed from TYPO3 Core to 624
Actions #3

Updated by Alessandro Schmitz about 12 years ago

Its still there in TYPO3 4.7.1 (currently dont have the newest version 4.7.7) and there are no JS errors.

Actions #4

Updated by Kaan Sanli over 11 years ago

We had the same problem in an installation using 4.5.24.

For editors, the backend was accessible via two domains (sub.newdomain.xy/typo & olddomain.xy/typo3). However, the frontend was accessible only by one domain (sub.newdomain.xy).
Every editor, using IE AND the old domain for logging in, had this 150px IFrame in the ws-preview.
After rewriting the old domain for backend-login (allowing the usage of the new domain only), the bug was gone.

I hope, this hint could help you.

Actions #5

Updated by Michael Stucki almost 11 years ago

  • Category set to Workspaces
Actions #6

Updated by Michael Stucki almost 11 years ago

  • Project changed from 624 to TYPO3 Core
  • Category changed from Workspaces to Workspaces
Actions #7

Updated by Alexander Opitz over 10 years ago

  • Is Regression set to No

Hi,

as this issue is very old. Does the problem still exists within newer versions of TYPO3 CMS (4.5.32 or 6.1.7)?
IMHO some IE issues are fixed in latest LTS update.

Actions #8

Updated by Kaan Sanli over 10 years ago

Hi,

the problem still exists, seen on a very new T3-CMS (6.2.3). Not only the IE is affected but also browsers like Firefox and Chrome. But: it's not really reproducible, sometimes the bug occurs and sometimes not although using the same settings.

When loading the WS-Preview, the IFrame first has no height. The height is loaded dynamically and here the bug occurs. Sometimes the height isn't loaded and added as inline-style, so the IFrame's height is automatically 150px. I cant't tell, why it happens, at least I don't see any JS error.

Actions #9

Updated by Alexander Opitz over 10 years ago

  • Subject changed from TYPO3-Workspaces Internet Explorer bug to TYPO3-Workspaces height of iframe to small
  • Status changed from Needs Feedback to New
Actions #10

Updated by Mathias Schreiber almost 10 years ago

  • Target version set to 7.5
Actions #11

Updated by Grigori Prokhorov over 9 years ago

Can confirm issue. iFrame default height of 150px gets recalculated several times - none of the times it actually fits. Can't we just make the height to be 100%?

Actions #12

Updated by Benni Mack about 9 years ago

  • Target version changed from 7.5 to 7 LTS
Actions #13

Updated by Mathias Schreiber about 9 years ago

  • Target version deleted (7 LTS)
Actions #14

Updated by COCO Communication Company GmbH over 8 years ago

We just experienced this issue, TYPO3 CMS v6.2.25, multiple Browsers (IE 11, Safari, Chrome, Firefox).

We realized, that this issue only occurs on those pages, which are restricted to specific frontend users and/or groups while the backend user who is viewing the page is not logged in as frontend user. As a result two HTTP errors are thrown – presumably initiated through AJAX.

That totally makes sense, since every request contains the identifier of the page previewed. TYPO3 CMS just won’t hand them over, if it assumes you’re not allowed to view them.

Logging in to the frontend before calling the preview solves this and the iFrame correctly fills the whole viewport.

At least this is what we were experiencing today. Maybe this helps figuring out how to get this fixed.

Cheers,
Daniel

Actions #15

Updated by Florian Seirer almost 8 years ago

This happens to us on TYPO3 7.6.15 too, and we usually don't use frontend logins.
Also, our backend runs on another domain.

If an editor goes to the view module for the first time, the width is set to "automatic", and the iFrame is only 150px high.
If the width is changed to another value and then back to automatic width, all pages are shown correctly from that point on.
And if that user starts using another browser, it's back to a height of 150px.

Chrome, Firefox an IE11 are affected.

Actions #16

Updated by Riccardo De Contardi over 7 years ago

  • Related to Bug #44745: Slider split preview uses only part of the available height added
Actions #17

Updated by Riccardo De Contardi over 7 years ago

I report here the comment https://forge.typo3.org/issues/44745#note-7 :

I have the same issue. I researched and found out the problem is that backendDomain is not set in the IFrame. So you got in the parent 'document.domain = "xyz.domain.de"' and in the IFrame 'document.domain = ""'.

A similiar problem is maybe related: http://forge.typo3.org/issues/30643

Actions #18

Updated by Riccardo De Contardi about 7 years ago

  • Related to Bug #78736: IFrame has no height in Workspace preview in multidomain installation added
Actions #19

Updated by Riccardo De Contardi about 7 years ago

I report here the description of the issue #78736 to keep track of it:

The backend runs under domain www.example.com

One site has TCEMAIN.previewdomain = foo.example.com

In Workspace preview for that site the iframes don't get a height whereby all parent DOM-Elements get the correct height.

In the main site with domain www.example.com the iframes get the correct height.

Actions #20

Updated by Susanne Moog over 4 years ago

  • Status changed from New to Closed

Since this issue has been reported a lot has happened - the preview was rewritten (as was the view module), site handling and routing has been introduced. The issue does not exist anymore in current versions of TYPO3.

Actions

Also available in: Atom PDF