Metadata
- Source
- FLUID-4394
- Type
- Bug
- Priority
- Critical
- Status
- Closed
- Resolution
- Fixed
- Assignee
- N/A
- Reporter
- Colin Clark
- Created
2011-08-08T19:24:17.627-0400 - Updated
2024-07-22T14:06:17.646-0400 - Versions
-
- 1.4
- 1.5
- 2.0
- 3.0
- 4.0
- Fixed Versions
-
- 5.0
- Component
-
- Prefs Framework
- UI Options
Description
The HTML file for Fat Panel UI Options' iFrame, FatPanelUIOptionsFrame.html, contains links to each individual Infusion JavaScript file required by UI Options to run. When using a concatenated build of Infusion, this causes two problems:
1. if the individual JS files have been pruned out of the deployment bundle, errors are thrown and UIO does not successfully load (due to the missing JS files)
2. if the individual JS files are still in place, the iFrame will load slower than it would if it were using the concatenated build instead
This is an easy issue to work around by changing the <head> of the file to link to MyInfusion.js instead of the individual files, but will cause upgrade headaches in the future, since users will have to remember make this change each time they upgrade.
In a future release of UI Options, we will need to consider the prospect of rewriting <script> and <link> tag URLs in templates during the Infusion build process.
Comments
-
Anastasia Cheetham commented
2013-06-13T13:38:53.595-0400 This issue is very closely related to FLUID-5052, but that issue also addresses the use cases where the integrator's path to MyInfusion.js might not be what an automatic head rewrite script would assume.
-
Justin Obara commented
2024-07-22T14:06:17.438-0400 Resolved with https://fluidproject.atlassian.net/browse/FLUID-6749