Hey,

Here's the code- http://tinypaste.com/1ec50
Host_Details is a class extended from Storage class.

Workaround:

Use: db(db.plans.id==db.plans.insert(...)).update(info=plan)


On Nov 23, 7:26 pm, mdipierro <mdipie...@cs.depaul.edu> wrote:
> Can you post code to reproduce this. It will save some time and we can
> fix it sooner.
>
> On Nov 23, 7:53 am, Ishbir <ishbi...@gmail.com> wrote:
>
> > Hey there,
>
> > There seems to be a bug in web2py which pops up while inserting a
> > record to a table with a custom field type.
>
> > How to reproduce:
> > - Make a table with a custom field
> > - Try inserting a record
> > - The record would come out as None
> > - Try updating the record with the custom value. It shows this time
>
> > Workaround: First insert the record, then update it with the custom
> > value.
>
> > Hope to see this fixed ASAP.
>
>

Reply via email to