I was just going to post about this myself. I think the problem is related to lua aliases. After I use an alias written in lua, calling zs.param in triggers always returns either 0 or what the paramet ...
I've had all sorts of problems with the current database system. A bunch of weird stuff has happened, like records getting written to the wrong database, records getting duplicated in a database, trig ...