Opened 16 years ago

Closed 6 years ago

#612 closed enhancement (fixed)

CT - Pasting in data that includes coded fields, system will not accept the code value, only the friendly name.

Reported by: rlittle Owned by: Pete Cyr
Priority: major Milestone: CT (TBD)
Component: Curator Tool Version: 2.0.3969
Severity: Keywords: language interface
Cc: Database Engine: N/A
Operating System: N/A

Description (last modified by Martin Reisinger)

See attached file, and note that after pasting data, there will be an error on Title. The titles are stored as the code values. When pasting the code values 'Prof.' or 'Dr.', the CT does not accept these. If you provide 'Professor' pr 'Doctor' it does. The CT should accept both the coded value and friendly value.

Attachments (1)

Kathy-coop_data_error_on_title.xlsx​ (153.6 KB ) - added by rlittle 16 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 by rlittle, 16 years ago

Type: defect → enhancement

comment:2 by Martin Reisinger, 7 years ago

Description: modified (diff)
Keywords: language interface added
Milestone: Release Candidate 3 → CT (TBD)

The GG dev team in NPGS discussed today adding two fields to the sys_lang table. One for
is_active, and another for is_web_visible.

The immediate need was stated today that by adding the is_active field, the database currently distributed in the builds could keep language data, whether complete or not. (The current database distributed in builds has incomplete sets of language translations.) Rather than lose the translations, by making a language inactive, an organization could simplify the use of language. Rather than use a Y/N switch, consider having the field accept Y/N/D, so that one language could be designated the default language. Same for is_web_visible Y/N/D.

The CT should be programmed to accept either the code or the title. If this were done, the ENG language workaround would no longer be needed for bulk importing. However, the ENG language may still be needed to output coded data, if some people still preferred to see their data that way.

Another advantage - an organization could be preparing for a language other than English, and have it hidden until the fields have been satisfactorily completed.

Version 0, edited 7 years ago by Martin Reisinger (next)

comment:3 by Pete Cyr, 6 years ago

Status: new → addressed

Addressed in CT v1.9.9.7

comment:4 by Mark J. Millard, 6 years ago

Resolution: → fixed
Status: addressed → closed

The specific example of Titles in the coop record had been addressed by changing the title friendly name to the short form. So instead I used the NA code in inventory availability status to change available accessions to unavailable. I then used the AVAIL code to change availability back to Available. This worked in version 1.21.1.19 as it probably has since the ticket was marked addressed. The only caveat is that codes and code title pairs for a particular code field need to be cross unique for the proper result. Don't use a friendly name for one code as a code for another code.

Note: See TracTickets for help on using tickets.