google_map module crash if address have accent chars

Bug #594861 reported by Goran Cvijanović
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Web Client
Fix Released
Undecided
Unassigned

Bug Description

Latest stable 5.0.11 module google_map crash without opening google map site
if in address string is any of accent chars from non English alphabet, ascii over 128
with error:
Unrecoverable error in the server.Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/CherryPy-3.1.2-py2.5.egg/cherrypy/_cpwsgi.py", line 168, in next chunk = chunk.encode

The problem can be simulated, just input € (Eur) sign somewhere in address field (street or city)
and press Map button.

Those chars are represented with \0170 type of code (as from utf-8 coding) so the validation in url request
in CherryPy server can't process those strings.

Related branches

Revision history for this message
Richard (John) Nopkins@Servosoft (richard-nopkins) wrote :

Web-client has to cover enconding here.

affects: openobject-addons → openobject-client-web
Changed in openobject-client-web:
status: New → Confirmed
Revision history for this message
Kunal Chavda (kunal-chavda) wrote :

Hello,
Fixed in stable.
at revno:2895
<email address hidden>

Thanks.

Changed in openobject-client-web:
status: Confirmed → Fix Committed
Navrang Oza (noz-tiny)
Changed in openobject-client-web:
milestone: none → 5.0.13
Navrang Oza (noz-tiny)
Changed in openobject-client-web:
status: Fix Committed → Fix Released
Revision history for this message
Goran Cvijanović (goranc) wrote :

I've tested with revision 2908, but when you enter € (EUR sign) somewhere in street name, aplication breaks.

g.c.

Revision history for this message
Kunal Chavda (kunal-chavda) wrote :

Hello,
I have tested it . it's working fine here at same revision.
you can check attached video.

Thanks.

Revision history for this message
Goran Cvijanović (goranc) wrote :

I've tested with my national char set (accent chars) and it's working fine.

Just for notice, Google Map have some address detection problems, when explicit position is not matched.
Ea, when you have character addition to house number like '3bb' it will fail to locate street because of explicit
home number nonexistence, but if you left only street name or '3b', then location is found in general
(like middle position on street, or explicit using only numeric part of home number)
But that's other type of Google Map usability problem with some addresses worldwide.

Thanks,

g.c.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.