Argh!

Dec. 13th, 2002 10:00 am
the_gneech: (shouting Kero)
[personal profile] the_gneech
CFIndex and CFSearch are just sitting on my head and crushing it.

The code is right! I've triple-checked that the code is right. But the search is returning bizarre, almost-random results! It's swapping fields for no good reason (intProductID and chvPubID are having their values swapped for some records -- but not ALL!), and it's driving me up a wall!

If it was happening for ALL of my search results, I could just swap the variable names and be done with it -- but it's not! It works right on one, then screws up another, then works right on the next one, all on the same page!

ColdFusion MX has some major problems, my fellow geeks. Stick with version 5!

-The Gneech

Followup: Okay, I fixed it. But sheesh!

Date: 2002-12-13 08:31 am (UTC)
From: [identity profile] shockwave77598.livejournal.com
Oh, you fixed it. What was it? Enquiring mimes want to know...

Date: 2002-12-13 09:30 am (UTC)
From: [identity profile] the-gneech.livejournal.com
The "body" parameter of a CFIndex tag has to include all of the fields being indexed. I thought it only needed to include one.

Go fig! Would have been nice if the manual said so... ;)

-The Gneech

Date: 2002-12-13 08:35 am (UTC)
From: [identity profile] torakiyoshi.livejournal.com
Something as hideously simple as a missing semicolon? It cost me a whole letter grade in high school...

Date: 2002-12-13 09:31 am (UTC)
From: [identity profile] the-gneech.livejournal.com
Nope, it was a bit more complicated than that -- I reserve mistakes like that for BIG emergencies! ;) -TG

Date: 2002-12-13 02:29 pm (UTC)
From: [identity profile] level-head.livejournal.com
It did sound like a key sequence specification problem; you've already resolved it, I see.

Good tune.

===|==============/ Level Head

April 2025

S M T W T F S
  1 2345
6789 101112
13141516171819
20 212223242526
27282930   

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Mar. 20th, 2026 02:52 am
Powered by Dreamwidth Studios