Opened 16 years ago

Last modified 16 years ago

#632 addressed defect

import_taxonomy_species gives error on first record no matter what first record is

Reported by: Mark J. Millard Owned by: bweaver
Priority: major Milestone: Release Candidate 3
Component: Import Wizard Version: 2.0.1728
Severity: Keywords: import_taxonomy_species
Cc: Database Engine: N/A
Operating System: N/A

Description

For some reason this dataview gives an error on the first record and not other records. One can overcome by loading two separate datasets one after another in different sequence.

The attached dataview has all English friendly names different. The one in this release have many fields with the exact same friendly name. This would be a problem.

Attachments (4)

taxonomy_species_CucumisWithName_PIPE_160recs_2010-12-17.txt​ (100.3 KB ) - added by Mark J. Millard 16 years ago.
cucumis species
taxonomy_species_CucurbitaWithName_PIPE_62recs_2010-12-17.txt​ (38.7 KB ) - added by Mark J. Millard 16 years ago.
cucurbita species
taxonomy_species_ZeawithName_PIPE_33recs_2010-12-17.txt​ (18.8 KB ) - added by Mark J. Millard 16 years ago.
Zea species
2010_12_20_import_taxonomy_species.dataview​ (324.4 KB ) - added by Mark J. Millard 16 years ago.
import_taxonomy_species with english friendly names unique...still has 1st record problem

Download all attachments as: .zip

Change History (6)

by Mark J. Millard, 16 years ago

cucumis species

by Mark J. Millard, 16 years ago

cucurbita species

by Mark J. Millard, 16 years ago

Zea species

by Mark J. Millard, 16 years ago

import_taxonomy_species with english friendly names unique...still has 1st record problem

comment:1 by bweaver, 16 years ago

Status: new → accepted

This happened because of two reasons:

  • Before the last build, I imported Gorm's latest Oracle dataviews and unchecked the "import language data" flag so the field-specific language data would not be overwritten (I just wanted the Oracle-specific sql)
  • There is a bug in the import code which ignores this flag and ultimately deletes all the corresponding sys_dataview_field_lang records, meaning the defaults from sys_table_field_lang are displayed instead.

This will be fixed by the next build, and is a small code change

comment:2 by bweaver, 16 years ago

Status: accepted → addressed

(In [1732]) - fixes #632, now if "include language data" is not checked, will delete only orphaned field language information. Previously was deleting all. Dataview-level language data is now left untouched if "include language data" is not checked (previously was deleting all).

Note: See TracTickets for help on using tickets.