History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: FC-1432
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Blocker Blocker
Assignee: Blair McKenzie
Reporter: Ezra Parker
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
FarCry Core Framework

Inconsistency in ftRenderType argument of file formtool component breaks file uploads

Created: 08/Aug/08 05:28 AM   Updated: 13/Aug/08 11:30 AM
Component/s: Formtools
Affects Version/s: FarCry 5.0 (Fortress)
Fix Version/s: 5.0.2

Time Tracking:
Not Specified

File Attachments: 1. File file.cfc (14 kb)



 Description  « Hide
In the file formtool component, the default parameters for the ftRenderType attribute passed in from the object's metadata are mismatched:

In the edit method, the default is "html":

<cfparam name="arguments.stMetadata.ftRenderType" default="html" />

Whilst the validate method defaults to "flash" instead:

<cfparam name="arguments.stMetadata.ftRenderType" default="flash" />

If the ftRenderType attribute has not been implemented in any file properties (ftType="file") of a content type, file uploads will fail.

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Ezra Parker - 08/Aug/08 05:29 AM
Attaching corrected file