From: Ian H. <har...@gm...> - 2009-02-23 22:32:49
|
Here are a couple things I've found during my migration from AOLServer to Naviserver. 1. The order of arguments to ns_register_filter is reversed. I found a discussion in the archives talking about this, but no conclusion. It looks like the procedure args and the filter reason got switched, which is fine. I just didn't know. 2. dbipg does something strange when used with a template, and a column the same name as the table. This works as expected: default:nscp 1> dbi_rows {SELECT classification FROM classification} UNCLASSIFIED This does not: default:nscp 2> dbi_rows {select classificationid, classification from classification} { default:nscp 2>>> $classificationid -> $classification default:nscp 2>>> } 1 -> 1 3. ns_cp is broken. I read in the archives that this command was to be deprecated. So I quit using it. What it did was fail with a permission error which is funny because [exec cp ...] did not fail. Maybe those commands should just be removed. There is going to be some pain migrating anyway... So far so good. Thanks for all your work on this project! - Ian |