Thanks Massimo, now working right!
On Sep 1, 10:58 am, mdipierro wrote:
> Interesting the bug is because of an off feature of GAE (at least on
> localhost). If two fields are type StringListProperty they must be two
> different instances of the StringListProperty class else the two
> fields are j
Interesting the bug is because of an off feature of GAE (at least on
localhost). If two fields are type StringListProperty they must be two
different instances of the StringListProperty class else the two
fields are just alias of each other. I did not see this documented
anywhere.
Massimo
On Sep
There was a bug and I just fixed it in trunk. Also do not use
posts = db(db.posts.id == 1).select()
on GAE because ids are not sequential but random uuid.
On Sep 1, 6:24 am, "Martin.Mulone" wrote:
> *
> /models/db.py
> **
>
> db.define_table('posts',
> d
*
/models/db.py
**
db.define_table('posts',
db.Field('id', 'id'),
db.Field('keywords', 'list:string'), #tags
db.Field('fulltext', 'list:string'), migrate=True)
posts=db(db.posts.id>0).select()
if not posts:
db.posts.insert(keywords=['key1','key2','key3'],full
This is a writing mistake, Massimo please take a look to the
application, i make it with keywords = ['keywords1','keywords2'] and
the problem still there.
On 1 sep, 00:21, mdipierro wrote:
> there is an error right here:
>
> post.update_record(keywords = 'keywords1 keywords2')
>
> should be
>
>
there is an error right here:
post.update_record(keywords = 'keywords1 keywords2')
should be
post.update_record(keywords = ['keywords1','keywords2'])
On Aug 31, 9:45 am, "Martin.Mulone" wrote:
> I don't get the logic of this problem. This problem only ocurrs in
> GAE, local works fine.
>
> I
I made a simple app, that show the bug, the problem is only in GAE.
http://rapidshare.com/files/416295273/web2py.app.listproblem.w2p
On Aug 31, 11:45 am, "Martin.Mulone" wrote:
> I don't get the logic of this problem. This problem only ocurrs in
> GAE, local works fine.
>
> I'am using the new i
7 matches
Mail list logo