Which version did you upgrade from? Can you show the model that causes problem?
On Nov 16, 8:42 pm, howesc <[email protected]> wrote: > Hi all, > > sorry if i missed the discussion on this, but i was just bitten by an > upgrade issue that i'm not sure the best way to solve. > > i have an existing app running on the google app engine that uses > several String fields with IS_IN_DB(... multiple=True). I upgraded > web2py and now those fields are not working properly (the forms don't > see the existing data, and then they update the field incorrectly > based on the old pipe-delimited string). This is wrecking havoc in > the system. > > as far as i can tell the best solution is: > - change the field type to 'list:reference <table_name>' since they > are references > - update my code that expects the pipe-delimited string and make it > expect a list of IDs (yea!!) > - write a task that i can run in the GAE task-queue to query each row > (around 200,000 of them at least), parse the string, convert it to the > list, and write back the new entry. > > is this correct? has anyone else done this and have a better > suggestion? > > thanks! > > christian

