Opened 13 years ago

Closed 13 years ago

#884 closed defect (fixed)

Citations are producing Object reference not set to an instance of an object error

Reported by: Martin Reisinger Owned by: Pete Cyr
Priority: medium Milestone: Post 1.0
Component: Curator Tool Version: 1.9.5
Severity: Keywords:
Cc: Database Engine: N/A
Operating System: N/A

Description

When creating new citations and adding them to a list, or when refreshing a list that has citations, an unhandled exception error is produced

Attachments (1)

obj ref error 2014-03-28_16-14-28.jpg​ (159.9 KB ) - added by Martin Reisinger 13 years ago.

Download all attachments as: .zip

Change History (2)

by Martin Reisinger, 13 years ago

comment:1 by Pete Cyr, 13 years ago

Resolution: → fixed
Status: new → closed

This error is the result of a dataview being renamed from get_citations (plural) to get_citation (singular). To fix this error in the CT version you are currently using simply open the AppSettings.txt file in your roaming profile directory and modify the line shown below:

FROM:
CITATION_ID_NAME_FORMULA = {get_citations.literature_id} + " - " + {get_citations.citation_year} + " - " + {get_citations.reference}

TO:
CITATION_ID_NAME_FORMULA = {get_citation.literature_id} + " - " + {get_citation.citation_year} + " - " + {get_citation.reference}

NOTE: Previously no message was displayed to the user when a name formula could not find the dataview referenced in the name formula. In CT v1.9.6.4 a new error message dialogbox has been added to alert the user that the formula is using invalid dataviews.

Note: See TracTickets for help on using tickets.