hi Leonel.

I'm not added a Web2py/Pydal github-collabator but I have made your
suggested changes to a copy of PyDal and those changes did address my
problem.

I added an issue as requested:
https://github.com/web2py/web2py/issues/2121

but now I've tried out the fix I see that I should have posted to pydal
instead. Apologies for that.


On Sun, 3 Mar 2019 at 08:09, Massimo Di Pierro <massimo.dipie...@gmail.com>
wrote:

> if we broke this, it was not intentional. Please open a ticket about this
> so we can track it. It will be fixed asap
>
> On Friday, 1 March 2019 04:17:44 UTC-8, Carl Hunter Roach wrote:
>>
>> In a db table I have:
>>
>> Field('address', 'json', custom_qualifier={'indexed':False}
>>
>> I retrieve an entry thus:
>>
>> geo_address_row = db(db.geo_address.latlonkey == latlonkey).select(db.
>> geo_address.latlonkey).first()
>>
>>
>> I could access the json data via `geo_address_row.address` as a dict.
>>
>> but then I updated from web2py v2.14.6 to v2.18.2
>>
>> and `geo_address_row.address` is now a str rather than a dict and I need
>> to wrap it thus: `json.loads(geo_address_row.address)`
>>
>> I suspect I've been living with an error that has, by undefined chance,
>> worked; and that Web2py has now closed that bug and caught me out.
>>
>> Have I given enough information for anyone to provide an insight?
>>
>> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2py (Source code)
> - https://code.google.com/p/web2py/issues/list (Report Issues)
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "web2py-users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/web2py/lstHGGuaBR8/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> web2py+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Carl Hunter Roach
Bisham Barn Owl Group <http://bishambarnowlgroup.blogspot.com/>
Runnymede Ringing Group <https://www.runnymederinging.uk/>

Founder of Midnight 30 <https://midnight30.com>
Download Great Careers app
<https://itunes.apple.com/us/app/great-careers-job-search-on-your-side/id977007868?ls=1&mt=8>
Jobs at great companies you can commute to.

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to