I add this rolic using "database administration -> add rolic"

On 29 янв, 03:07, DenesL <denes1...@yahoo.ca> wrote:
> On Jan 28, 4:47 pm, LightOfMooN <vladsale...@yandex.ru> wrote:
>
> > Running 1.91.6 too.
>
> > db.define_table('tag',
> >     Field('name', 'string'), format='%(name)s')
>
> > db.define_table('rolic',
> >     Field('name', 'string'),
> >     Field('tags', 'list:reference tag', required=True),
> >     )
>
> > Add 1 rolic with empty tags, and "database administration -> db.rolic"
>
> How are you adding that rolic?
> It should not be possible with DAL since required=True.
>
>
>
>
>
>
>
> > goes to error:
> > ProgrammingError: syntax error at or near ")"
> > LINE 1: SELECT  tag.id FROM tag WHERE (tag.id IN ());
>
> > ERROR SNAPSHOT
> > <class 'psycopg2.ProgrammingError'>(syntax error at or near ")"
> > LINE 1: SELECT  tag.id FROM tag WHERE (tag.id IN ());
> >                                                   ^
> > )

Reply via email to