eaudeweb/cms.modules — pull request #10 by cristiroma (2014-01-13 15:32:50+00:00)
Title: Drush command to fix production bug #1776

This script sets the National Report Country field take from "Submitted by" field, and where it finds a match, it sets the "Submitted By" to empty.

!!!WARNING!!!
When run this on the production server, you need to update manually afterwards the following records, becuase countries cannot be matched automatically.

== CMS ==

Cannot match 'Russia' to country for document #: 1148
Cannot match 'Guinée' to country for document #: 1392
Cannot match 'Secretariat' to country for document #: 1411
Cannot match 'Congo (Kinshasa)' to country for document #: 2478
Cannot match 'France (Mayotte)' to country for document #: 2692
Cannot match 'France (New Caledonia)' to country for document #: 2693
Cannot match 'Tanzania' to country for document #: 2694
Cannot match 'Macedonia' to country for document #: 2760
Cannot match 'Macedonia' to country for document #: 2799
Cannot match 'Serbia and Montenegro' to country for document #: 2809
Cannot match 'Macedonia' to country for document #: 3222
Cannot match 'Tanzania' to country for document #: 3226
Cannot match 'United Kingdom - Sovereign Base Area Cyprus' to country for document #: 3232
Cannot match 'United Kingdom - Bermuda' to country for document #: 3233
Cannot match 'United Kingdom - Falkland Islands' to country for document #: 3234
Cannot match 'United Kingdom - Isle of Man' to country for document #: 3235
Cannot match 'United Kingdom - Guernsey' to country for document #: 3236
Cannot match 'Antigua & Barbuda' to country for document #: 3263
Cannot match 'Congo (Kinshasa)' to country for document #: 3282
Cannot match 'Macedonia' to country for document #: 3311
Cannot match 'Congo (Kinshasa)' to country for document #: 3335
Cannot match 'EUROPEAN COMMUNITY' to country for document #: 3340
Cannot match 'Macedonia' to country for document #: 3369
Cannot match 'Tanzania' to country for document #: 3370
Cannot match 'SAINT LUCIA ' to country for document #: 3378
Cannot match 'Macedonia' to country for document #: 3409
Cannot match 'Congo (Kinshasa)' to country for document #: 3412

== AEWA ==

== ASCOBANS ==
Cannot match 'Secretariat' to country for document #: 659