Opened 5 years ago
Closed 5 years ago
#2320 closed defect (fixed)
Accession source history throwing error when less than 3 source_type_codes are in the table
| Reported by: | Kay Kittell | Owned by: | Kay Kittell |
|---|---|---|---|
| Priority: | medium | Milestone: | Server 2.1.1 |
| Component: | Public Website 2 | Version: | N/A |
| Severity: | Keywords: | ||
| Cc: | Database Engine: | N/A | |
| Operating System: | N/A |
Description
For international users, there might not be the 3 source_type_codes the NPGS uses: Collected, Donated, and Developed. This causes an error with the sourcehistory control, because it's expecting 3. Modify sourcehistory so that it can work correctly if less than 3 types are in the table.
Change History (2)
comment:1 by , 5 years ago
| Status: | assigned → addressed |
|---|
comment:2 by , 5 years ago
| Resolution: | → fixed |
|---|---|
| Status: | addressed → closed |
Note:
See TracTickets
for help on using tickets.

Modified sourcehistory to be able to handle if there are less than 3 source_type_codes in the accession_source table.