Forum OpenACS Q&A: ad_conn urlv not returning consistent results
Today we upgraded to the beta release. Some code that I wrote that
calls [ad_conn urlv] is doing funny things--it looks like [ad_conn
urlv] is not returning consistent results. I put some selective
dump messages in to log what's going on--sometimes when I hit the
page (which is /jsi/2000v1i1/) [ad_conn urlv] returns just "jsi",
other times it returns the full list of "jsi 2000v1i1". Any ideas
what's going on? I'm confused because [ad_conn urlc] returns "2" in
i.e. /jsi/2000vlil/ and /jsi/2000vlil
It makes no difference.
I've confirmed this exists against a stock install. I've opened a bug report (https://openacs.org/sdm/one-baf.tcl?baf_id=1425), and attached some sample code (twice, since I forgot that the SDM doesn't handle html vs. plain text very well).
I haven't had time to debug this yet. If anyone has any idea why this is happening, I'd like to know. Thanks.
OK, I think I found where this is happening. SeeBug 1492
Something is wrong with the way ad_conn is overloaded in the developer-support package. Disabling the developer-support package seems to fix it.
You can't link bug reports in this version of the SDM can you? I put a comment in bug 1425 pointing to 1492 since 1425 has test code.