tracker issue : CF-3914318

select a category, or use search below
(searches all categories and all time range)
Title:

[ANeff] Bug for: [regression] ColdFusion.Layout functions fail from ajaxOnLoad()

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff (Aaron Neff)

Created: 12/23/2014

Components: AJAX, UI Components

Versions: 11.0

Failure Type:

Found In Build/Fixed In Build: CF11_Final /

Priority/Frequency: Major / Some users will encounter

Locale/System: ALL / Platforms All

Vote Count: 0

Listed in the version 2016.0.0.297996 Issues Fixed doc
Verification notes: verified_fixed on July 23, 2017 using build 2016.0.01.298513
ColdFusion.Layout functions fail from ajaxOnLoad(), even when wrapped w/ Ext.onReady(). This works in CF10 w/o Ext.onReady().

Repro:

1) run index.cfm
2) see ColdFusion.Layout.collapseArea() does not collapse the layout area

index.cfm
-----------
<html>
<head>
<script type="text/javascript">
function init() {
  alert("before");
  //ColdFusion.Layout.collapseArea("myLayout", "left");//bug: layout area is not collapsed
  Ext.onReady(function() {ColdFusion.Layout.collapseArea("myLayout", "left");});//bug: layout area is still not collapsed
  alert("after");
}
</script>
</head>

<body>
<cflayout name="myLayout" type="border">
  <cflayoutarea position="left" collapsible="true">left</cflayoutarea>
  <cflayoutarea position="center">center</cflayoutarea>
</cflayout>
<cfset ajaxOnLoad("init") />
</body>
</html>
-----------

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3914318

External Customer Info:
External Company:  
External Customer Name: itisdesign
External Customer Email:  
External Test Config: Verified w/ CF11 Update 3 Final Standalone Enterprise on x64 Windows w/ Firefox 34.0.5, IE 11 and Chrome 39.0.2171.95 m

Attachments:

Comments:

Note: ColdFusion.Grid functions were seemingly fixed per CF-3793029. ColdFusion.Layout functions should've also been checked.
Comment by External U.
9187 | December 23, 2014 03:01:06 PM GMT
Could this be verified? The repro is simple. Thanks!, -Aaron
Comment by External U.
9188 | January 06, 2015 06:26:29 AM GMT
The code is merged. Can you check in latest build
Comment by Uday O.
9189 | September 23, 2015 03:24:57 AM GMT
Hi Uday, Latest "public" build (i.e. CF11 Update 6), or latest Raijin build? I wasn't sure b/c this ticket's "Fixed In Build" field is blank. Thanks!, -Aaron P.S. Thanks for fixing it! I would certainly like to test it.
Comment by External U.
9190 | September 23, 2015 06:38:37 AM GMT
Aaron. CF11 update6 is already out there. This fix will definitely go out with Raijin, It may go out in a future CF11 udpate as well.
Comment by Piyush K.
9191 | September 23, 2015 11:11:12 AM GMT
Thanks very much, Piyush, for clarifying! -Aaron
Comment by External U.
9192 | September 23, 2015 12:42:39 PM GMT
Are we able to get builds before they go to updates?
Comment by External U.
9193 | October 07, 2015 08:26:11 AM GMT
Henry, We have a prerelease program for updates as well.
Comment by Piyush K.
9194 | October 15, 2015 01:12:01 AM GMT
Verified this is fixed in CF2016 Update 1 (build 2016.0.01.298513). Thanks!, -Aaron
Comment by Aaron N.
9195 | July 23, 2017 07:16:38 AM GMT