Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Raymond Camden / Raymond Camden (Raymond Camden)
Created: 03/10/2014
Components: Text Search, Solr
Versions: 10.0
Failure Type:
Found In Build/Fixed In Build: Final / CF11 Update5,CF10 Update16
Priority/Frequency: Major / Some users will encounter
Locale/System: English / Platforms All
Vote Count: 1
Consider the code block below. I've done something wrong with cfindex (my fault for sure), but this is the error detail:
There is an invalid attribute name
That's it. I've got no idea what I did wrong.
<cfif isDefined("url.index")>
<cfset q = queryNew("key,title,body,cat")>
<cfset queryAddRow(q, {key:1,title:"TItle one", body:"b1", cat:"sports"})>
<cfset queryAddRow(q, {key:2,title:"TItle two", body:"b2", cat:"sports"})>
<cfset queryAddRow(q, {key:3, title:"TItle three", body:"b3", cat:"sports"})>
<cfset queryAddRow(q, {key:4, title:"TItle four", body:"b4", cat:"music"})>
<cfindex action="update" collection="test_blog" query="q" key="key" title="title" body="body" category="cat" result="r">
<cfdump var="#r#">
</cfif>
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3720764
External Customer Info:
External Company:
External Customer Name: cfjedimaster
External Customer Email:
External Test Config: My Hardware and Environment details:
Attachments:
Comments: