Opened 4 years ago
Closed 4 years ago
#2674 closed defect (fixed)
Update fields in taxonomy_data.cab to match 2.3.1 schema changes
| Reported by: | Kurt Endress | Owned by: | Kurt Endress |
|---|---|---|---|
| Priority: | medium | Milestone: | |
| Component: | Installers | Version: | N/A |
| Severity: | Keywords: | ||
| Cc: | Database Engine: | N/A | |
| Operating System: | N/A |
Description
Doing a database install and populating taxonomy data produces an error:
12/8/2022 3:52:55 PM - Bulk inserting data for taxonomy_family...
12/8/2022 3:52:55 PM - Exception: Bulk load data conversion error (type mismatch or invalid character for the specified codepage) for row 1, column 18 (owned_by).
This was caused by a schema change in 2.3.1 that added fields to the family, genus, and species tables. Those changes weren't reflected in the taxonomy_data.cab file used to optionally load or update taxonomy tables. This caused an error when bulk loading the mismatched data files.
The views used to generate the cab file need to be updated.
Change History (2)
comment:1 by , 4 years ago
| Status: | assigned → addressed |
|---|
comment:2 by , 4 years ago
| Resolution: | → fixed |
|---|---|
| Status: | addressed → closed |

I updated three of the views used by maketaxcab.bat to create the taxonomy_data.cab to include the new fields:
taxgeo_taxonomy_family_view
taxgeo_taxonomy_genus_view
taxgeo_species_view
Tested on npgsdev first and when the new cab file worked properly with the installer I made the changes to production and put the new file in C:\inetpub\wwwroot\gringlobal\uploads\installers\latest