Opened 16 years ago

Last modified 16 years ago

#621 released defect

import_taxonomy_family dataview has to be loaded twice to get current family right

Reported by: Mark J. Millard Owned by: bweaver
Priority: major Milestone: Release Candidate 3
Component: Dataviews (CT) Version: 2.0.1679
Severity: Keywords: import_taxonomy_family
Cc: brockweaver@…, Laura.Gu@… Database Engine: N/A
Operating System: Windows 7 Ultimate 64 bit

Description

I found that when I loaded a family file with current family in it, the first load did not mark the current family. I ran a second time and the current family appeared to be marked correctly. If this is the correct behavior on "current" then it needs to be documented

Attachments (1)

taxonomy_family_all_2604recs_2010-12-12.txt​ (453.7 KB ) - added by Mark J. Millard 16 years ago.
This is the complete family dataset for import from GRIN-Classic on 2010-12-12

Download all attachments as: .zip

Change History (6)

by Mark J. Millard, 16 years ago

This is the complete family dataset for import from GRIN-Classic on 2010-12-12

comment:1 by bweaver, 16 years ago

Owner: changed from dbmulg to bweaver
Status: new → accepted

I am able to recreate this. There is a bug in the DataTriggerHelper class which is causing the various taxonomy triggers to not properly recognize a current_ field that is auto-appended during the import process and it should be used in place of auto-generating the default value, which is to point at itself. This particular trigger code is only called on insert, so running a second time means it will issue an update and the trigger will effectively do nothing, allowing the proper value to be written.

The bug fix I am currently testing seems to work properly in all cases, but I'm still testing it.

comment:2 by bweaver, 16 years ago

Cc: Laura.Gu@… added

Sorry Laura, it reassigned me as owner when I set the status as "accepted". I'm adding you onto the CC list instead.

comment:3 by bweaver, 16 years ago

(In [1688]) - refs #620, #621, #622, #623. Close, but still one last bug fix to test (out of memory issue)

comment:4 by bweaver, 16 years ago

Status: accepted → addressed

(In [1689]) - fixes #621, #622, #623.

Also cut out a bunch of dead code (mostly commented out stuff that is leftover from the pre-Nov TtT hackathon I had going on one Sat night.

comment:5 by bweaver, 16 years ago

Status: addressed → released
Note: See TracTickets for help on using tickets.