Button "Select Exactly How To Crop Your Image" produces an error

Description

Trying to reedit a "Mid Size Image" or a "Thumbnail Image" via the button "Select Exactly How To Crop Your Image"" produces an error:
------------------------------

There was a problem with that last request!

Please push "back" on your browser or go back home
Error Details
Message The required parameter URL.FORMTOOL was not provided.
Exception Type Expression
Detail This page uses the cfparam tag to declare the parameter URL.FORMTOOL as required for this template. The parameter is not available. Ensure that you have passed or initialized the parameter correctly. To set a default value for the parameter, use the default attribute of the cfparam tag.
Tag Context

  • /var/www/web4/html/farcry/core/webtop/facade/ftajax.cfm (line: 1)
    ------------------------------

Environment

FarCry 6.0.8 - Debian-Linux LENNY 5.0 - MySQL 5.0.51a-24 - ColdFusion 8 (Multiserver Install)

Attachments

1

Activity

Show:

Blair McKenzie December 7, 2010 at 2:23 AM

Casing issue. Patch courtesy of Knut.

Knut Bewersdorff December 7, 2010 at 1:54 AM

Patch/Workaround for https://farcry.jira.com/browse/FC-2409#icft=FC-2409 and https://farcry.jira.com/browse/FC-2410#icft=FC-2410 in p600 (actually FarCry 6.0.8):

Change line 8 in "/core/webtop/facade/ftajax.cfm" from "refind" to "refindnocase" !

The code in "/core/webtop/facade/ftajax.cfm" (line 7 to 14) should look like this:
-------------------------------------------------------
<cfloop collection="#url#" item="key">
<cfif refindnocase("/formtool/\w+",key)>
<cfloop from="1" to="#listlen(key,'/')#" index="i" step="2">
<cfset url[listgetat(key,i,"/")] = listgetat(key,i+1,"/") />
</cfloop>
<cfbreak />
</cfif>
</cfloop>

Fixed

Details

Assignee

Reporter

Fix versions

Affects versions

Priority

Created December 4, 2010 at 1:03 PM
Updated December 7, 2010 at 2:23 AM
Resolved December 7, 2010 at 2:23 AM

Flag notifications