Opened 11 years ago
Closed 11 years ago
#524 closed defect/bug (fixed)
[MG] search broken by rev #2827
Reported by: | pini | Owned by: | cp15 |
---|---|---|---|
Priority: | blocker | Milestone: | |
Component: | mapdrivers/M&G | Version: | git master |
Severity: | Keywords: | ||
Cc: |
Description
Hi,
SVN rev#2827 introduced attr_postal_mask handling in navit/search.c:search_list_town_new.
But this ATTR isn't handled by the MG plugin and generates a failed assert. See navit/map/mg/town.c:town_attr_get.
Unfortunately I don't know how to properly handle this case in town.c. So I can't provide an appropriate patch.
Thanks,
_Gilles.
Attachments (1)
Change History (4)
comment:1 Changed 11 years ago by pini
comment:2 Changed 11 years ago by pini
Hi,
There are some other use cases leading to unhandled attr_type. I've eventually patched navit/map/mg/town.c so that it triggers log messages instead of assert(false).
Thanks,
Changed 11 years ago by pini
comment:3 Changed 11 years ago by kazer
- Resolution set to fixed
- Status changed from new to closed
patch applied in rev2394, it doesn't crash anymore. Thank you once more, pini :)
The same goes for attr_county_name introduced into navit/search.c by rev #2844.
Thanks,
_Gilles.