Status/Resolution/Reason: Closed/Won't Fix/
Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff (Aaron Neff)
Created: 09/19/2012
Components: Document Management
Versions: 10.0
Failure Type:
Found In Build/Fixed In Build: Final /
Priority/Frequency: Trivial / Unknown
Locale/System: English / Win All
Vote Count: 0
The following returns a different result in CF10 Final vs CF10+Updater1:
<cfscript>
myVar={};
myVar.width = 750;
myVar.height = 250;
myVar.textToWrite = "foobar";
myVar.stormBase = createObject("java", "ice.storm.StormBase");
myVar.frame = createObject("java", "javax.swing.JFrame").init("Web Viewer");
myVar.htmlPanel = createObject("java", "javax.swing.JPanel").init();
myVar.panelName = replace(createUUID(), "-", "", "all");
myVar.stormBase.setComponentToolkitName("swing");
myVar.frame.getContentPane().add(myVar.htmlPanel);
myVar.frame.setSize(myVar.width, myVar.height);
myVar.stormBase.setContainer(myVar.htmlPanel, myVar.panelName);
myVar.frame.setVisible(true);
myVar.stormBase.renderStringContent(myVar.textToWrite, javaCast("null", ""), myVar.panelName);
sleep(4000);
if(myVar.stormBase.getViewPortState(myVar.panelName) is "ready") {
myVar.container = myVar.stormBase.getContainer(myVar.htmlPanel);
myVar.viewport = myVar.stormBase.findViewportByName(myVar.panelName);
myVar.contentHeight = myVar.viewport.getPilot().getDocPane().getDocHeight();
myVar.contentWidth = myVar.viewport.getPilot().getDocPane().getDocWidth();
}
writeOutput(myVar.contentHeight & 'x' & myVar.contentWidth);
</cfscript>
CF10 Final result: "212x734"
CF10+Updater1 result: "0x0"
Just letting you know in case it causes any issues in the future.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3333879
External Customer Info:
External Company:
External Customer Name: itisdesign
External Customer Email:
Attachments:
Comments: