Geoip Local Plugin with City Database

Created on 4 February 2025, 3 months ago

Problem/Motivation

I'm using the Geolite2-City database, which is loaded with priority to GeoLite2-Country database.
The Local locator plugin tries to call the "country" method with the City database, which is not supported for the City model, and raises BadMethodCallException

Steps to reproduce

Use the local locator provider with GeoLite2-City.mmdb file.

Proposed resolution

Trt to load first GeoLite2-Country database. or if the City database is opened, use the city model

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

3.0

Component

Code

Created by

🇪🇸Spain pandepoulus

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024