ADF Release Notes v1.6


Overview

Application Development Framework (ADF) version 1.6 updates the recent 1.5.1 release with:

Enhancements

Notable Bug Fixes

For detailed instructions for installing the ADF, see the ADF v1.6 Installation Guide.

For detailed instructions for upgrading from a previous version of the ADF, see the ADF v1.6 Upgrade Guide.

Before installing or upgrading to this release of the ADF, please review these Important Notes.


Important Notes

Review the following important notes before installing or upgrading to version 1.6 of the ADF.

If you are upgrading from a release earlier than 1.6, we strongly recommend that you also read the following:

1.5.0 Release Notes

1.5.1 Release Notes

1.5.2 Release Notes

 

The ADF development version 1.5.3 has been rolled into this v1.6 release.  If you are using the ADF v1.5.3, then please update to v1.6.

If you have installed anything of the following ADF applications you'll need to upgrade to the latest versions (the latest app version is listed here):

      PT Blog v3

      PT Multimedia v2

      PT Profile v3

      PT Social Media v2

These applications have been updated to address the security enhancement addressed in the CommonSpot 8.0.1 Release Notes (section Enhancements > Security).


Supported CommonSpot Versions:

Summer 2013 SP1 (8.0.1)

Summer 2013

Winter 2012

6.2

6.1

6.0


Supported ColdFusion Versions:

All supported CommonSpot versions

 

New Library Components:
 /API/
  api_1_0
  apiDocument_1_0
  apiElement_1_0
  apiImage_1_0
  apiKeyWords_1_0
  apiPage_1_0
  apiSubsite_1_0
  apiTextBlock_1_0
 /ccapi/
  ccapi_2_0
  csContent_2_0
  csPage_2_0
 /ceData/
  ceData_2_0
 /csData/
  csData_1_2
 /csSecurity/
  csSecurity_1_2
 /data/
  data_1_2
 /date/
  date_1_2
 /mobile/
  mobile_1_0
 /scripts/
  scripts_1_2
 /utils/
  utils_1_2

 

Notable Enhancements:
Enhanced error handling and logging on the ADF Reset commands.
New Library for mobile browser detection.
New Library for API to manage the Public Command API and the CCAPI function calls.  Versioned the CCAPI Lib components for

CCAPI, CSContent, and CSPage to use the API lib components/functions.

New Library for mobile browser detection and sample code to get started.

New Custom Field Types for date picker, time picker, and tab index.
Updated JQuery to version 1.9.
Updated JQuery UI to version 1.10.  Added all the JQuery UI v1.10 themes.


Enhancement Details:
/core/
  Added lock around the entire ADF reset processing. Prevents errors on server restarts.
  Added ADF Build Error handling.
  Moved the site-sample files into a sub folder for the "_cs_apps" directory to match the destination directories.
  Added check if the ccapi config file exists and needs to be set up. This will bypass any false errors if no config file exists.

/extensions/customcf/
 genericElementManagement
  Added an option for custom "Add New" button text.
  Added a hook to override the Attributes passed in from the Custom Script Parameters tab with a structure from an App.
 custom-code-package-builder.cfm
  Added the custom code package builder, a tool to build a custom code package for files within the custom coding

CommonSpot directories.

/lib/csData/
 csData_1_1.getRSSFeedURLFromElementID
  Added a csPageID parameter to the getRSSFeedURLFromElementID element

/lib/scheduler/
 scheduler_1_0.getScheduledTasks
  Added logic and a cfschedule tag with a LIST attribute to handle getting the CFSCHEDULED tasks list from RAILO.
  Added the DATA lib component as a dependency.

/lib/scripts/
 scripts_1_1
  Added the 'force' parameter to all functions in Scripts_1_1 library component to by pass the script service tracking functionality.

/lib/utils/
 utils_1_0.LogAppend
  Added label name to the cffile so that the passed-in label is actually part of the dump.

/thirdParty/
 javaloader
  Added javaloader utility to thirdParty directory.
 uagentinfo
  Added UAgentInfo mobile browser detection.

/thirdParty/jquery/
 Added jQuery Mobile


Notable Bug Fixes:
Correctly updated all the custom fields types for the readOnly check to also use the cs6 fieldPermission parameter and updates to the parameters for the wrapFieldHTML function.

Many updates into the ceData_1_1.buildRealTypeView function.
Railo compatibility for the versions.xml file.
Restructured the thirdparty folders & versions files for the following plugins:
 JQuery DataTables
 JQuery Tablesorter
 JQuery Tablesorter Themes
 JQuery Tablesorter Pager
 JQuery Tools
 CF JS


Bug Fixes:
/core/
 AppBase.loadSiteAppComponents
  Added checks for loading the app override components at the site level.
  Resolved an issue with the bean and CFC name being different names loaded into the App Bean Config.
 config.getConfigViaXML
  Modified the function to NOT expand the file if passed in the CFM file.  Any calls to this function and passing the path of a ".cfm" file need to use the expand path with the argument.

/extensions/customcf/
 genericElementManagement
  Fixed an issue with the displayAddButtonList variable name.

/extensions/customfields/
  Updated the readOnly check to also use the cs6 fieldPermission parameter.
  Added the includeLabel and includeDescription parameters to the wrapFieldHTML function call.
  Updated Custom Field Types to replace Jquery "$" references.  Updated the exported custom field types.

/extensions/customfields/allow_edit_hidden/
  Updated to support fieldname containing "_" in a simple form.

/extensions/customfields/custom_text_area_field/
  Fixed an issue with the Textarea Field ID not getting a value if a xparams.fldName was not entered in the props.
  Added an optional parameter to assign a CSS property to the textarea field resizing handle.

/extensions/customfields/customScriptSelector/
  Added redirect CFINCLUDE to point to custom_script_selector/custom_script_selector_render.cfm.

/extensions/customfields/general_chooser/
  Replaced the CFJS function for "ListLen" and "ListFindNoCase".
  Updated to build the display text outside of the main string build.
  Fixed issue with adding new records into the "selected" area when submitted.
  Disabled the Delete icon/action in the selection.

/extensions/datasheet-modules/
 edit-delete.cfm
  Updated the styles for the buttons to be fixed width.
  Add a blank sort value to field.

/lib/ceData/
 ceData_1_1.getFieldDefaultValueFromID
  Removed the circular references to application.ADF.cedata.
 ceData_1_1.buildRealTypeView
  Updated the SQL create view query to allow CE Field names with underscores (_). Changed the 'AS {FIELDNAME}' to strip the "FIC_" instead of using a ListGetAt() with an underscore delimiter. Also added brackets [ ] around the {FIELDNAME} to allow for field names that might be reserved or non-standard SQL field names.
  Updated the default view name to end in "_view".
  Added check for db type around the square brackets, added and rendered single quotes instead if under mySQL.
  Updated to use the memovalue field for building views.  Memovalue is used by the RTE and other fields longer than 850 characters.

  Added a db type version check to uncomment the fix for using nvarchar(4000) instead of nvarchar(max) on older versions of MSSQL.

  Added TRY-CATCH for error handling when generating the view table.
  Added IF statement to check that the view table name has a length. 
 ceData_1_0.getPageIDForElement
  Removed the MSSQL specific concatenation (+) in the LIKE statements in the SEARCHINLIST queryType. 

/lib/data/
 data_1_0.arrayOfStructuresToQuery
  Updates to support Railo.
  
/lib/forms/
 forms_1_1.isFieldReadOnly
  Fixed the logic when checking the fieldPermission value for CS 6.0+ to only return ReadOnly when the fieldPermission value equals 1.


/lib/scripts/
 scripts_1_1.loadJQueryFancyBox
  Fixed function calls to loadjQueryEasing and loadjQueryMouseWheel.
 scripts_1_1.loadCFJS
  Renamed the JS files to "jquery.cfjs-#version#.js". Set the default to v1.2.
  Updated the CFJS third party jquery files to the latest v1.2.
 scriptsService_1_1.findScript
  Added the "allowoverwrite" flag to "true" on the StructInsert commands to avoid errors.
 scripts_1_0.loadJQuerySuperFish
  Added force parameter so that SuperFish can be forced to display.
 
/lib/taxonomy/
 taxonomy_1_1.getTopTermsQueryForFacet
  Updated the orderby logic to fix an issue with the termID and termName text concatenation with the CFParam.

/extensions/lightbox/
 framework.js
  Update to allow the replaceLB lightbox function to work in CommonSpot 6.2+.

/lib/version.xml
Railo Fix - Moved comments below 'settings' tag.

/lib/utils/
 utils_1_1.buildPaginationStruct
  Fixed cfargument "default" attribute for URLparams.
  Validate that the URL Params arg starts with a leading "&".

/thirdParty/
  Cleaned the ThirdParty directory to remove all documents and example code.