From: youjun g. <you...@ya...> - 2009-12-10 16:17:15
|
Hi, Rutger, I git your comments on this issue: Added a getTitle() override. We always want getTitle() to return something. For ArticleCitations, this field would normally be set with the name of the article. For InBookCitation, this field is populated with the section title, so InBookCitation.getSectionTitle() calls the getTitle() method defined here, from whence we need to go up the inheritance tree to the parent Citation class. For BookCitations, the title field is unset, so we return the BookTitle field instead. This should resolve issue #2903172. I am working on this bug: [ treebase-Bugs-2902650 ] Book titles don't appear under study tab and found totally 4 published citations records in our citation.treebase-dev. Two of them have booktiltle without tittle, and the other 2 have tilttle without booktittle. So "return the BookTitle field" may cause new problem. We may need to fix the table data, or return tiltte/booktittle whichever is not null. Youjun > > > |