We are moving to Git Issues for bug tracking in future releases. During transition, content will be in both tools. If you'd like to file a new bug, please create an issue.

Bug 6702 - Problems with using issue Title only
Problems with using issue Title only
Status: NEW
Product: OJS
Classification: Unclassified
Component: Reading Tools
2.4.x
All All
: P3 normal
Assigned To: PKP Support
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-06-22 08:35 PDT by James MacGregor
Modified: 2012-09-21 14:43 PDT (History)
4 users (show)

See Also:
Version Reported In:
Also Affects:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James MacGregor 2011-06-22 08:35:30 PDT
Courtesy of http://pkp.sfu.ca/support/forum/viewtopic.php?f=8&t=7655&p=29617#p29617. If I do the following: 

- designate an issue's identification to use title only;  
- delete any contents from the issue's Issue Data -> Volume/Number/Year boxes; 
- add a title; 
- check off only "title" for Issue Identification;
- save the page, 

Then on reload, the Volume/Number/Year boxes are autofilled with 0. Almost all Citation Format plugins (via the How to Cite Item RT) subsequently generate citations with a "0" as either/both volume and number information, and as far as I can see don't actually print the issue title. 

The only citation format that at the very least doesn't print any volume/number information is Turabian. 

It doesn't matter how I've configured Journal Setup Step 4.2, although I will note that the Volume/Number/Year fields there are also autofilled with 0. 

A few proposed solutions off the top of my head: 

-- don't autofill the volume/number/year fields; shouldn't these be able to be null?

-- if yes to the above, then the citation format plugins should not print null information.

-- if no to the above, the citation format plugins should check the issue's checkbox values for using volume/number/year, and do/don't display depending on those. [This is probably what should be happening anyway.]

Either way, I'm not sure if the citation format plugins should be including the special title information, but I can check the various styles. 

This also affects the DC and GS embedded metadata for the articles. And probably has to be fixed in OCS.
Comment 1 James MacGregor 2011-06-22 08:45:55 PDT
Looking a little closer at the citation.tpl files -- they are basically calling the volume/number information ($issue->getVolume() and $issue->getNumber()) if $issue is true. Maybe the simplest thing would be to call this only if $issue is true and $issue->getV/N() is not 0? 

If there are legitimate situations where vol/number could be 0 (like if folks want to conceivably start at issue 0), then we shouldn't autofill those values in the setup/issue data pages to 0. It looks like the DB allows these values to be null, so it's likely only a code change. 

Alec (or anyone, actually), if you could provide a bit of feedback on the best method going forward, I can likely take this on.
Comment 2 Alec Smecher 2011-06-22 08:56:53 PDT
James, agreed -- the big problem is autofilling to 0; that shouldn't be happening. In GS metadata and elsewhere, journals not using volume numbers will be fine if they just supply blanks to those fields. Someone who really wants to enter a 0 should be permitted to do that.
Comment 3 James MacGregor 2011-07-29 15:21:26 PDT
One further note, from conversation with Anurag: if the Issue field is left blank, the citation_issue element (and for that matter, DC.Source.Issue) in the page source is filled to 0, eg. for 

http://www.globalhealthaction.net/index.php/gha/article/view/5815

You have: 

<meta name="DC.Source.Issue" content="0"/>

and 

<meta name="citation_issue" content="0"/>

These should just not appear at all if empty.