Just found a bug in the Belgium address format CIF which was fixed in version 3 for that country. A quick review of the uc_store install process shows that updates / corrections are applied for country CIFs but not for changes specifically within a CIF itself.

Which means that a problem like this would go unnoticed had I not received an order from Belgium, since even when upgrading Ubercart regularly and if a corrected CIF were released, the updated CIF is not automatically applied or the user even prompted to update it manually.

So it would be great if during the update process or as part of the overall Drupal status report that the Drupal admin be notified that one or more of the Country CIFs are out of date and need to be updated. Listing which CIFs are out of date would be most useful too.

Thanks for considering.

Comments

tr’s picture

Sounds like a good thing to do. Just needs to implement hook_store_status() to check whether any of the files need updating. See the callback function for admin/store/settings/countries/edit to find code which performs this check. Can you roll a patch for this?

longwave’s picture

Status: Active » Closed (duplicate)