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)
Change History (6)
by , 16 years ago
| Attachment: | taxonomy_family_all_2604recs_2010-12-12.txt added |
|---|
comment:1 by , 16 years ago
| Owner: | changed from to |
|---|---|
| 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 , 16 years ago
| Cc: | 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 , 16 years ago
comment:4 by , 16 years ago
| Status: | accepted → addressed |
|---|
comment:5 by , 16 years ago
| Status: | addressed → released |
|---|

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