PKP Bugzilla – Bug 6702
Problems with using issue Title only
Last modified: 2012-09-21 14:43:58 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.
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.
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.
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
<meta name="DC.Source.Issue" content="0"/>
<meta name="citation_issue" content="0"/>
These should just not appear at all if empty.