bug reported at https://farcry.jira.com/browse/FC-2320

getContentObjects has an argument "status" that should be a list of
valid status values that should be allowed. However, when the query is
built, the cfqueryparam tag does not have the list="true" attribute
set so it gets passed to the DB as a single value, which will never
match (ex: 'approved,pending,draft' vs. 'approved','pending','draft')

Line 163 in fapi.cfc should be changed from

<cfqueryparam cfsqltype="cf_sql_varchar" value="#arguments.status#" /
>

to

<cfqueryparam cfsqltype="cf_sql_varchar" list="true"
value="#arguments.status#" />

-- 
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: [email protected]
To unsubscribe, email: [email protected]
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry

Reply via email to