Accessibility
Adobe
Sign in Privacy My Adobe

ColdFusion Release Notes

Macromedia® ColdFusion® MX 7.0.2

Release Notes Part 1 - Changes, Known Issues, and Fixed Issues
June 30, 2006

Because of their length, these Release Notes are divided into two parts. Part 1 contains information about ColdFusion MX 7.0.2. Part 2 contains information about installing ColdFusion MX 7.0.2.

Contents of Part 1

Welcome to ColdFusion MX 7.0.2

ColdFusion MX 7.0.2 lets you create rich Internet applications using the combination of Adobe® Flex™ 2 and ColdFusion. This release delivers important connectivity elements required to integrate Flex applications with a ColdFusion server. In addition, ColdFusion MX 7.0.2 rolls up all hot fixes to date.

ColdFusion MX 7.0.2 includes the following:

  • Macromedia Flash® Remoting Update
  • Flex Messaging event gateway
  • ColdFusion Data Services
  • ColdFusion Extensions for Flex™ Builder™ 2

About ColdFusion MX 7.0.2

This document contains information about ColdFusion MX 7.0.2. ColdFusion MX 7.0.2 works with all configurations (server, multiserver, and J2EE) of ColdFusion® MX 7.01 on all platforms that ColdFusion MX 7.01 supports. With the exception of the Flex Messaging event gateway, ColdFusion MX 7.0.2 works on all editions of ColdFusion MX 7.01. Because only Enterprise edition supports event gateways, you must have the Enterprise edition installed to use the Flex Messaging event gateway. You cannot use this release with any ColdFusion releases prior to ColdFusion MX 7.01.

ColdFusion MX 7.0.2 includes two types of installation:

  • ColdFusion MX 7.0.2 - Full ColdFusion MX 7.0.2 installation kit, including all updates. To download the full installation kits, go to the Updaters page of the ColdFusion Support Center.
  • ColdFusion MX 7 Updater 2 - ColdFusion MX 7.0.2 Updater kit, includes updates only. You can download the Updater from the Adobe site. These release notes describe how to use the Updater installation.

In addition to these release notes, Using ColdFusion MX with Flex 2.0 contains documentation for all ColdFusion/Flex Connectivity features.

Note: To determine whether ColdFusion MX 7.0.2 is installed, check the version number listed on the Version line on the Administrator System Information page. The version number of ColdFusion MX 7.0.2 is 7.0.2.142559.

What's New in this Release

ColdFusion MX 7.0.2 focuses on letting you create rich Internet applications with Adobe Flex Builder 2.0, Adobe® Flex™ Data Services 2, and ColdFusion MX 7.0.2. It also includes all previous ColdFusion MX 7 hot fixes that have been released to date, eliminating the need to install multiple hot fixes and patches. This release includes the following new features:

  • Macromedia® Flash® Remoting Update, which lets you call CFC functions from a Flex application to provide simple access to all of the back-end services available from ColdFusion—database access, web services, POP/SMTP, file systems and more.
  • Flex Messaging event gateway, which lets you specify a ColdFusion event gateway as a destination for messages from within a Flex application; similarly, your ColdFusion application can use an event gateway to send events to a Flex application.
  • ColdFusion Data Services, which provides support for Adobe® Flex™ Data Services to enable connectivity with ColdFusion as the back end to Flex Data Services applications.
  • ColdFusion Extensions for Flex Builder 2, which provides development productivity for key coding tasks when building ColdFusion-powered Flex 2.0 applications. The extensions include:
    • Eclipse RDS Support, which lets you access files and data sources registered in the ColdFusion MX Administrator on a ColdFusion server
    • The ColdFusion/Flex Application wizard, which creates the ColdFusion and Flex files for a create, read, update, delete (CRUD) application
    • The Services Browser, which lets you view all of the ColdFusion components (CFCs) on your computer and manage a list of web services
    • ActionScript to CFC wizard, which lets you create a CFC based on an ActionScript class file
    • CFC to ActionScript wizard, which lets you create an ActionScript file based on a CFC
    • Value Object RDS CRUD wizard, which lets you dynamically create a CFC based on a table that is registered in the ColdFusion MX Administrator on a ColdFusion server
  • A new Flex Integration page in the ColdFusion MX Admininistrator that lets you enable or diable Flash Remoting and Flex Data Services support.
  • Report Builder contains three new functions:
    • InitializeReport - Runs first when you are browsing a report and can be used to initialize variables and to get to a certain state. InitializeReport takes no arguments.
    • FinalizeReport - Runs at the end of the browse process. FinalizeReport takes no arguments.
    • BeforeExport - Lets the user adjust paging of the report before it is printed. This function takes an optional parameter, the integer that represents the page count. It returns a structure that contains name-value pairs. The first value specifies the new position of the page in the report. The second value specifies the page's original position in the report. For example, the following code reverses the page order in a report:

      <cfargument name="pagecount">

      <cfset pages=StructNew()>
      <cfset currentPage="#arguments.pageCount#"

      <cfloop index="i" from="1" to="#arguments.pageCount#">
      <cfset pages["#currentPage#"]="#i#">
      <cfset currentPage="#currentPage - 1#">
      </cfloop>

      <cfreturn pages>

What's Different in this Release

The following changes have been made in ColdFusion MX 7.0.2:

  • An updated ColdFusion Reporting engine. Reporting now provides Unicode support for RTF.
  • ColdFusion MX 7.01 Cumulative Hot Fix 1, 2 and 3, including a Microsoft Internet Explorer EOLAS fix for UI components and Flash Forms. For more information, see Issues Fixed in this Release.

To use the Flex features of ColdFusion MX 7.0.2, you must be running JRE 1.4.2_09. ColdFusion MX 7.0.2 installation installs JRE 1.4.2_09. ColdFusion MX 7.0.2 updates JRE to 1.4.2_09 for server and multiserver configurations.

Note: Macromedia® Flash® only allows a Flash application to request data from the web server that served it. This means that you cannot serve a page from file://c:/webroot/filename.htm because of security restrictions. To avoid this issue, put the crossdomain.xml file in the ColdFusion web root or use an http:// URL during development. For more information, see the Flash Player TechNote, External data not accessible outside a Macromedia Flash movie's domain.

Known Issues with this Release

The following issues were known to exist in ColdFusion MX 7.0.2 at the time of the release. These issues are additional to any listed elsewhere. For confirmed issues that are discovered after the release date, and for known issues in ColdFusion MX 7, see the TechNote ColdFusion MX 7 Confirmed Issues.

ID Issue
61558 In the Eclipse RDS Support plug-in, if the Query Viewer contains a SQL statement when you open a database in the Visual Query Builder, the SQL statement is removed from the Visual Query Builder.
61572 In the Eclipse RDS Support Fileview, if you delete or rename the folder in which an open document is located, the document loses any changes you make or disappears when you save it.
62086 In the RDS CRUD Wizard, when table columns contain Japanese or non-alphanumeric characters, a Java exception occurs when you create a CFC file.
62234 When you create an instance of a Flex Messaging Event Gateway in the ColdFusion MX Administrator, the CFC that you refer to must be located under the web root of the web server and there must be a cfmapping that points to that directory.
62445 In the RDS CRUD wizard, when table columns contain a space, a Java exception occurs when you create a CFC file.
62508 When you use the Visual Query Builder to create a query, add a parameter and create a join between the parameter and one of the columns of the table, and then save and execute the query, an error is generated.
62392

If you have Eclipse 3.1.x and myEclipse installed, when you open the Dataview in RDS support and then click the Query Viewer button, the Query Viewer does not open and errors appear.

62234 You must locate CFCs under the web server web root and you must create a cfmapping that points to that location.
62664

When you use the ColdFusion/Flex Application wizard, if the server is not authenticated (for example, if you edit the RDS connection to localhost and leave out the password information and change the port to one that is incorrect), the datasource drop-down is empty. You cannot continue, because the Next button is disabled.

62937 When you use the CFC to ActionScript wizard, the ActionScript3 class initiliazes foreign keys to zeros.
62896 In the Services Browser, an ArrayIndexOutOfBoundsException error occurs when you open the localhost node and the port number is incorrect.
63181 The ColdFusion/Flex Application wizard does not support tables with Primary Keys that include more than one field.
63221

In the ColdFusion/Flex Application wizard, when your query contains multiple references to common fields, you should alias field names to ensure that there are no duplicate field names and that field names do not include periods.

63224 In the ColdFusion/Flex Application wizard, you cannot create a project in a folder other than the web root.
63413 To use the In-Place Editor option to open files in Eclipse or Flex Builder, you must install CFEclipse (Remote Site: http://www.cfeclipse.org/update/).
63649 In the Eclipse RDS Support plug-in, when you use the Dataview to view a table's contents, varchar field content that includes a comma appears truncated at the letter immediately before the comma, and content after the comma appears in the next column. All subsequent columns are offset by one. The same behavior appears when you write or execute a query in the same window.
63235 When you use a View as the entity for a Master or a Detail page, the ColdFusion/Flex Application wizard can't tell what the primary key is. You must specify the Primary Key by using the appropriate check box.
63927

If the error "Child tag initializer for type 'Array' may not be empty" occurs and there is a one-to-many join in the Detail form, in the \src\com\cfgenerated\views\detail\<detail_form.mxml> file, the DataGrid tag has an empty columns tag, for example:

<mx:DataGrid id="id”
dataProvider="{dataProvider}"
width="100%"
editable="true" >
<mx:columns>
</mx:columns>
</mx:DataGrid>
 

The "many" table has no columns that are set to "display".

When the many table is added to the Query Builder, it automatically uncheck the "ID" field (the primary or linking field) so that it does not display.  It is also possible to uncheck other fields using the UI.  If all the fields are unchecked, there would be a child table (a many table), but when attempting to make the grid there is no grid columns to output.

You can re-run the wizard on your current application, open the Detail form and make sure that there is at least one column that is checked in the “many” table.

  In the ColdFusion/Flex Application wizard, masks are not supported in a grid (sub-select), although they are supported in a Detail form.
  In the ColdFusion/Flex Appliation wizard, the login page default username and password are as follows:
Username: *@*
Password: * ( where * is a wild card indicating any length string)
63950 In the Web Root URL field on the Finish page, only enter the web root URL and not any subfolders.

Issues Fixed in this Release

The following issues have been fixed:

Bug

Description

60827

ColdFusion charts can fail to display on computers that run Windows/IIS6 because the charts have no HTTP headers.

60892

You cannot execute multiple cfapplication tags from a single CFM page. Doing so causes problems with the client variables.

60970

When you attempt to use a PERL client to consume a web service that returns a result that is an array, the web service generates an error because of redundant attributes.  This is a known issue with Axis 1.x through 1.2.x.

60998

If the value of the sessionTimeout attribute of the cfapplication tag is the same as the timeout set in the ColdFusion MX Administrator, the session times out early.

50692

If an FTP server accepts the socket but does not complete the connection or login, the cffftp tag hangs. As a result, the page or request hangs.

61152 and
61235

When you run Verity Standalone on a remote server, it does not add new records when running cfindex action="Update". When you create a collection with categories on a remote host, the code checks for a file on the local system, even when Verity is remote.

61212

The <cffile action="upload"> tag no longer writes a file with a file specfication in the "destination" field.

61238

Report grouping display shows the wrong data on the last row if the field is in the group footer.

61164

The error "Session is invalid" occurs after the first J2EE session in which the cfapplication "name=" parameter is missing expires.

61272

After restarting the server, the scheduled tasks are activated twice.

61252

The Application.cfm or Application.cfc file is not invoked when you call CFCs through the CFCProxy.

61224

When you invoke a function as funct(nameOfTheArgument="#arguments#"), the nameOfTheArgument parameter is passed to the function as expected. Doing so also sends the keys in the arguments as the arguments to the function. This is a change in behavior from ColdFusion MX 7.0 to ColdFusion MX 7.0.1.

61378

When you use the ColdFusion Standard Edition cfdocument single-thread model, the server hangs when all jrpp- threads handling cfdocument calls are locked.

61343

ColdFusion MX fails to return values from CFC-based web service methods that return components with embedded components.

61331

A web service that returns a CFC fails after time.  If the web service CFC (component A) returns another CFC (component B) as a result, it fails after component B is removed from the template cache.

61361

Specifying DateAdd("w") can result in specifying a weekend date.

61374

You cannot use FOR UPDATE in a SELECT statement that is not part of the declaration of a cursor or which is not inside a stored procedure.

61444

Verity does not optimize category files.

61485

This is an additional fix for issue 61224 in Cumulative Hot Fix 1, when ClassCastException passes FORM scope arguments to a function.

61570

Submitting a form with a large number of fields can intermittently result in an HTTP status of '500 Resetting to invalid mark'.

60089

There is a mojibake problem when you use cftree with a cfcontent charset. The double-byte charaters are displayed as a question mark (?).

61462

Using REMOTE_USER and AUTH_TYPE creates unnecessary sessions.

61326

Using the maxlength attribute of the cfprocparam tag with the datatype DECIMAL results in the decimal value being treated as a character, which causes a ColdFusion runtime error.

61723

A cfftp file operation fails if the filename contains double-byte characters.

61508

Specifying maxrows returns all rows rather than limiting the result set.

61415

With Data Direct 3.4+ drivers, ColdFusion returns duplicate values for sql_variant columns in record sets when a NULL row follows a non-NULL row.

61931

You cannot set optional parameters in an SMS message.

60212

Text is clipped at the top of the page in multiple page documents when the tag includes a large amount of text.

60333

Verity does not handle custom collections with nulls correctly.

61827

Tabbing through a cfselect tag changes the value from the selected value to the first value in the list.

62329

The SMS gateway does not support setting multiple optional parameters. The SMS gateway also does not pass any optional parameters that are in the incoming message.

62005

The NumberFormat function loses significant digits.

59702

onError is incorrectly invoked. It catches a runtime abort exception that is naturally caused by a cflocation tag.

62033

The cfreport tag can get into an infinite loop.

61238

Report grouping display shows the wrong data on the last row if the field is in the group footer. This is an additional fix to bug 61238 in Cumulative Hot Fix 1.

62182

The cfqueryparam tag generates incorrect SQL with an empty list.

62016

The URLSessionFormat function does not recognize cookies.

62284

SOAP mappings change from xsd to soapenc after web services are invoked.

62273

Query of Queries NULL behavior has changed. Specifiying IS NULL in a query of queries returns zero rows, even if there are NULL values in the original query.

62283

The TemplateProxyFactory.getResolvedFile() method must be public.

62514

Scope is corrupted by exception handling in a CFC. Calling an unknown method and catching the exception can cause variables scope to contain the wrong data in an include file.

62160

The cfchart tag's scaleTo and scaleFrom values are misinterpreted in locales where a comma is used for the decimal separator or a comma is used for grouping digits (for example, in French).

62372

Active content, such as a Java applet or a Flash application is automatically activated in the new Microsoft Internet Explorer, so users don't have to click to activate the content.

63563

Data is truncated in the cfreport tag in a CFR file that is converted into a PDF