From: SourceForge.net <no...@so...> - 2009-12-10 12:17:39
|
Bugs item #2903172, was opened at 2009-11-24 15:24 Message generated for change (Settings changed) made by rvos You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1126676&aid=2903172&group_id=248804 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: ui Group: None >Status: Closed Priority: 7 Private: No Submitted By: William Piel (sfrgpiel) >Assigned to: Rutger Vos (rvos) Summary: Book citation does not appear in submission Initial Comment: When creating a new submission that has a book as the citation, the "Summary for Current Study" page (e.g.: go here after logging in as a Admin person: http://treebasedb-dev.nescent.org:6666/treebase-web/user/summary.html?id=253) says "Citation information not yet entered. Click the Citation menu item on the right" even though the citation has already been entered. ---------------------------------------------------------------------- >Comment By: Rutger Vos (rvos) Date: 2009-12-10 12:17 Message: I added an override for the Citation.getTitle() method, because previously calling this method on the BookCitation child class return null. 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 BookCitation.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. ---------------------------------------------------------------------- Comment By: Rutger Vos (rvos) Date: 2009-12-10 12:17 Message: Your bug has been resolved. Thanks for the report. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1126676&aid=2903172&group_id=248804 |