Hi Fred,

Created the ticket http://trac.turbogears.org/ticket/1820

Regards,
Dax


On May 15, 10:31 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> On 5月13日, 下午2時44分, dakila <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hello,
>
> > in the create controller, I just changed the
> > value = provider.select(tableName=self.tablename,values=kw)
> > to
> > value = getTableValue(model=User)
>
> > It seems getTableValue will work for tables with many to many relation
> > to other table (ie tg_group).
> > makeTable returns a datagrid widget that also requires the other
> > 'mapped' properties. However provider.select will only return rows
> > containing only the columns in the table. Therefor calls by the
> > datagrid to that column (in this case tg_groups) produces the
> > NoSuchColumnError: "Could not locate column in row for column
> > 'tg_groups'".
>
> > I am not sure if this can be considered a crud bug, since the produced
> > controller already contains the import statement for getTableValue. If
> > it is a bug I can create a ticket in trac.
>
> > Dax
>
> Hi Dax,
>
> Thanks for finding bug,
> please create a ticket in trac and we'll check it.
>
> --
> Fred
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears-trunk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to