Henry Baragar wrote:
I have not be able to figure out why it does this, but I can tell you that it does not list "customer_id" twice if the "refers_to" is removed, nor if the column is named something else (such as "customer_di").
There is internal Jifty magic with column names ending in "_id". You can add an _id to a refers_to column to get the actual numerical ID back instead of the actual object. As a result, you can't name refers_to columns with an ending of "_id", things get confused.

This bit me for hours once a long time ago and, now that I'm thinking about it, I don't think I ever contributed a documentation patch. Shame on me :(.

I don't have time to craft one at the moment, but if you do I'm sure it would be welcomed.

Sean

_______________________________________________
jifty-devel mailing list
jifty-devel@lists.jifty.org
http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel

Reply via email to