vaadin / vaadin/framework

"Communication problem" in iframe tabs

Open
#11,482 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Stale v7
Dominant language
Java
Stars
1.8k
Forks
717
Avg merge
2d 6h
Merged PRs (30d)
3

Description

Hi,
We embedded a Vaadin AP in an iframe html such as:
<html><iframe src=" https://demo.vaadin.com/sampler/#ui/interaction/button" style="WIDTH:100%" height="100%" name="test"></iframe></html>

If open the html twice (two tabs) in the same browser window, and switch between these two tabs, the previous used tab will show "Communication problem. Take note of any unsaved data, and click here to continue."
The problem happened in Vaadin Version 7.7.12 or upper (like Vaddin web), but not happened in Vaadin Version 7.1.10.
If removed iframe name, such as:
<html><iframe src=" https://demo.vaadin.com/sampler/#ui/interaction/button" style="WIDTH:100%" height="100%"></iframe></html>
Everything is fine.

Why the iframe name will affect connection in newer Vaadin version? Any ideas? Many thanks.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the communication error using the supplied HTML iframe example with a name, opening it in two browser tabs on Vaadin 7.7.12 or newer. Compare the behavior with an unnamed iframe and with Vaadin 7.1.10; done means the connection behavior is explained and a focused fix or confirmed workaround is identified.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.