FLUID-4350: ids allocated by the framework via allocateSimpleId may collide across multiple fluid instances (different versions, or copies inside iframes)

Metadata

Source
FLUID-4350
Type
Bug
Priority
Blocker
Status
Closed
Resolution
Fixed
Assignee
Antranig Basman
Reporter
Antranig Basman
Created
2011-07-21T15:55:18.122-0400
Updated
2014-04-02T15:35:19.965-0400
Versions
  1. 1.3.1
Fixed Versions
  1. 1.4
Component
  1. Framework

Description

In developing FatPanelUIOptions, cindyli today discovered a collision between ids allocated inside an iframe and those on the outside, that caused the component to fail. This has been a more general problem with fluid ids for a while, which we have put off for lack of a really good solution. Research suggests there is no better approach in JavaScript but to use some form of id prefix generated from a random number. This should help with collisions with ids held in markup as well.

Comments

  • Antranig Basman commented 2011-08-11T01:27:56.371-0400

    This has been committed to the framework for 1.4