CDR Tickets

Issue Number 3753
Summary Citation formatting filter bugs
Created 2014-04-08 14:28:55
Issue Type Bug
Submitted By Kline, Bob (NIH/NCI) [C]
Assigned To Englisch, Volker (NIH/NCI) [C]
Status Closed
Resolved 2014-05-02 17:57:40
Resolution Fixed
Path /home/bkline/backups/jira/ocecdr/issue.122838
Description

There are a couple of problems with the filter which formats citations (/trunk/Filters/CDR0000258630.xml).

  • unwanted periods are added to corporate authors

  • too many authors are included if the number of personal authors is less than three and the total number of authors is greater than three

CDR602260 on DEV can be used to illustrate both problem, as illustrated by the following test script:

import cdr
filters = ['set:Denormalization Citation Set',
           'name:Copy XML for Citation QC Report']
print cdr.filterDoc("guest", filters, docId=602260)[0]
Comment entered 2014-04-08 15:04:47 by Englisch, Volker (NIH/NCI) [C]

The filter has been updated on DEV but I'm leaving this issue open in case you'll find some additional formatting problems.

Comment entered 2014-05-02 17:57:23 by Englisch, Volker (NIH/NCI) [C]

The following filter has been updated on DEV:

  • R12628: CDR258630 (Module: Citation Formatting)

Comment entered 2014-06-02 18:04:27 by Englisch, Volker (NIH/NCI) [C]

The filter change has been copied to PROD. Closing issue.

Comment entered 2014-10-10 08:15:03 by Englisch, Volker (NIH/NCI) [C]

This was just a test for the Jira syntax highlighting, right?

Comment entered 2014-10-10 08:39:01 by Kline, Bob (NIH/NCI) [C]

Yes, the plugin has been installed on the production system, and I was verifying that it works correctly. You may see a couple more edits of older tickets before I'm done.

Elapsed: 0:00:00.001299