After installing the provider plugin and the ISP provider databases I assumed that you can also use php ./console usercountry:attribute to update the location_provider database field. This does not work, after running the command the historical log data was not updated.
When looking at the code, the class VisitorGeolocator.php in the UserCountry plugin does not even call the provider plugin to update the data. Actually the geolocator data is directly populated by the VisitorGeolocator without going through the abstractions, it just uses a map which fields in the log entry to update. location_provider is not part of this list of fields to update.
I am not sure how to fix this in the current architecture, because the extra field in the Provider plugin is unknown to UserCountry plugin, so just hacking it into the script won't work.
Is there any way to run the Geolocator in the same way like for UserCountry?
After installing the provider plugin and the ISP provider databases I assumed that you can also use
php ./console usercountry:attributeto update thelocation_providerdatabase field. This does not work, after running the command the historical log data was not updated.When looking at the code, the class
VisitorGeolocator.phpin the UserCountry plugin does not even call the provider plugin to update the data. Actually the geolocator data is directly populated by theVisitorGeolocatorwithout going through the abstractions, it just uses a map which fields in the log entry to update.location_provideris not part of this list of fields to update.I am not sure how to fix this in the current architecture, because the extra field in the Provider plugin is unknown to UserCountry plugin, so just hacking it into the script won't work.
Is there any way to run the Geolocator in the same way like for UserCountry?