Opened 9 years ago

Last modified 9 years ago

#1666 new enhancement

Drag and Drop Should Accept Codes or Titles

Reported by: Martin Reisinger Owned by: Pete Cyr
Priority: medium Milestone: CT (TBD)
Component: Curator Tool Version: CT 1.9.8.14
Severity: Keywords: intreface, codes
Cc: Database Engine: N/A
Operating System: N/A

Description (last modified by Martin Reisinger)

Drag and drops have a hurdle that should be eliminated.

A user cannot drop in the actual CODE when doing bulk additions. New users, and even experienced people, forget that you must use the code Title in your spreadsheet when dragging and dropping, even though when looking at the hints (the code in the ST text box, the rollover tip when mousing over the column heading) indicate the actual Code value/ ...misleading the user.

Compounding the confusion, the drag works when the Code is the same as the Title (but only the case is different). So a user may be successful with "CULTIVAR" because the title is "Cultivar" But when using "CULTIVATED" the drag & drop doesn't work, because the title is "Cultivated Material"

Even experienced users would benefit by this improvement, because as it is now the user must grab the correct Title from somewhere or be very careful when inputting.

Also, there seems to be two different behaviors when an improper value is used, depending on the dataview. In the accessions dv, when "Cultivated" was dragged in, the CT simply ignored the value being dragged and left the cell blank. In the accession_inventory_name dataview, the invalid "CULTIVAR" was flagged with the red eye error flag and the record was prevented from being saved.

Attachments (1)

cultivar 2018-05-15_15-49-15.png​ (105.4 KB ) - added by Martin Reisinger 9 years ago.

Download all attachments as: .zip

Change History (4)

by Martin Reisinger, 9 years ago

comment:1 by Martin Reisinger, 9 years ago

Description: modified (diff)
Keywords: intreface added; intrefcae removed
Priority: minor → medium

comment:2 by Martin Reisinger, 9 years ago

Description: modified (diff)

comment:3 by Martin Reisinger, 9 years ago

Kurt determined why there are two different behaviors when an improper value is used, depending on the dataview. It comes down to whether the field accepts a null or not. In accession, the field accepts nulls, but not in accession_inv_name. That’s controlled by the schema and dataview, the CT just enforces it. So when the CT doesn’t accept a code title, dragging in a null, which may or may not cause an error, depending on whether the field accepts nulls. (Will be documented)

Note: See TracTickets for help on using tickets.