Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #1294 (closed defect: wontfix)

Opened 12 years ago

Last modified 10 years ago

TGFastData doesn't work with ForeignKeys

Reported by: Juhani Owned by: anonymous
Priority: normal Milestone:
Component: FastData Version:
Severity: normal Keywords:


With TGFastData-0.9a6, forms don't work with foreign key columns.

It started working when I commented out a line in formmaker.column_widget_fkey_col that removes the trailing 'ID' from column name.

def column_widget_fkey_col(column):
    parms = column_parms(column)
    #parms['name'] = parms['name'][:-2] # strip 'ID' from the end
    fkey_class = classregistry.findClass(column.foreignKey)

I don't know if that broke something else, but it works for me.

Change History

comment:1 Changed 12 years ago by jorge.vargas

  • Milestone set to __future__

are you using SA? the I believe ID thing is an SO dependency.

comment:2 Changed 12 years ago by Juhani

I'm using SQLObjects.

It's basically TG 1.0.1 release + TGFastData-0.9a6. Are they incompatible?

comment:3 Changed 10 years ago by jorge.vargas

  • Status changed from new to closed
  • Resolution set to wontfix

FastData? is unmaintained, please use sprox.org.

2009 ticket cleanup

comment:4 Changed 10 years ago by anonymous

  • Milestone __future__ deleted

Milestone future deleted

Note: See TracTickets for help on using tickets.