According to http://drupal.org/node/334726#comment-2014036

if geonames_metadata_update() was working it would load this table on the first cron call (and every month thereafter). Arguably, there should be a more human-friendly way to trigger this refresh. Feel free to file that as a feature request.

Comments

lyricnz’s picture

I don't think that this table should be loaded at install time - many Drupal sites are not connected to the internet, or their administrators don't want unsolicited activity. It feels like it would be better to provide an admin action to reload this metadata (and maybe a warning that the tables are empty).

lyricnz’s picture

Added support for manually refreshing metadata to 6.x-1.x-dev. You can find this in the geonames settings page at /admin/settings/geonames.

Should we put a warning somewhere, when these tables are empty? I already made the geonames settings screen behave differently if the data was empty (the "metadata" fieldset is expanded, and the title is 'Metadata - Incomplete').

lyricnz’s picture

Added support for warning if the metadata is incomplete, to to 6.x-1.x-dev.

jmary’s picture

Excellent.

lyricnz’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.