<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://pkp.sfu.ca/bugzilla/bugzilla.dtd">

<bugzilla version="4.2.5+"
          urlbase="http://pkp.sfu.ca/bugzilla/"
          
          maintainer="pkp-hosted@sfu.ca"
>

    <bug>
          <bug_id>6497</bug_id>
          
          <creation_ts>2011-03-14 11:04:00 -0700</creation_ts>
          <short_desc>Publication Date selection issues</short_desc>
          <delta_ts>2011-04-15 08:46:39 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>OJS</product>
          <component>Submissions and Publishing</component>
          <version>2.3.5</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="James MacGregor">jmacgreg</reporter>
          <assigned_to name="PKP Support">pkp-support</assigned_to>
          <cc>alec</cc>
    
    <cc>bdgregg</cc>
    
    <cc>vgabler</cc>
          
          

      

      

      

          <long_desc isprivate="0">
            <commentid>23163</commentid>
            <who name="James MacGregor">jmacgreg</who>
            <bug_when>2011-03-14 11:04:36 -0700</bug_when>
            <thetext>The Year option for the Date Published dropdowns (available for individual articles under Editing -&gt; Scheduling, and for issues on the Issue Data page) only go back to 2001. There&apos;s a null option, which if chosen will use the year in the issue&apos;s Year identification field as the display value (eg. for citation_date, etc.). This is possibly confusing in a few ways: 

-- journals who publish content from before 2001 may wonder why there isn&apos;t a pre-2001 option; 

-- editors will likely not assume that choosing the null option will fall back to the Year identification value, and may even assume that choosing the null option will &quot;unpublish&quot; the issue. 

-- Specific to the Issue Data page: there are now two places to set the publication date: in the Identification section as free-form fields, and again for the issue status. However, the second option isn&apos;t seen until after the issue is published (and only if/when the Editor returns to the Issue Data page), and may be overlooked by Editors. 

Is there any reason why we can&apos;t simply use the Issue Identification fields to set the issue&apos;s publication date? Editors would then be setting the date right the first time through, the UI would be a bit simpler, and Editors wouldn&apos;t have to figure out how to mark an issue as published before 2001. The article&apos;s submitted date (or whatever is used to populate DC.Date.dateSubmitted and DC.Date.modified) could still be set and tracked in the background invisibly. 

If that isn&apos;t an option, could we display the options to set the publication date before the issue is published, so that Editors won&apos;t overlook them? And additionally, it would be good to maybe have the year option go back to at least 1900, although I understand that this would create a somewhat cumbersome list.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <commentid>23164</commentid>
            <who name="bdgregg">bdgregg</who>
            <bug_when>2011-03-14 11:09:50 -0700</bug_when>
            <thetext>James,

Just a thought - instead of having a drop downs for the date, how about a calendar selection tool similar to something like the following: http://www.mattkruse.com/javascript/calendarpopup/</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <commentid>23166</commentid>
            <who name="James MacGregor">jmacgreg</who>
            <bug_when>2011-03-14 11:13:08 -0700</bug_when>
            <thetext>(In reply to comment #1)
&gt; James,
&gt; 
&gt; Just a thought - instead of having a drop downs for the date, how about a
&gt; calendar selection tool similar to something like the following:
&gt; http://www.mattkruse.com/javascript/calendarpopup/

Hi Brian, 

I think that&apos;d be a good idea, but will likely have to wait until another version -- for the 2.3.5 release of OJS we&apos;re focussing only on stability/bugfix issues, and a new calendar function falls out of scope.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <commentid>23167</commentid>
            <who name="bdgregg">bdgregg</who>
            <bug_when>2011-03-14 11:18:51 -0700</bug_when>
            <thetext>James,

Understood.  Next time then.  ;-)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <commentid>23177</commentid>
            <who name="Alec Smecher">alec</who>
            <bug_when>2011-03-14 13:42:28 -0700</bug_when>
            <thetext>James, following up on the description (and thanks, all, for the scrutiny on this):

-- journals who publish content from before 2001 may wonder why there isn&apos;t a
pre-2001 option;

We currently have a ten-years-behind, two-years-forward policy in a number parts of the UI. To select an older publication date, it&apos;s a little clunky: you need to choose an early date, and then you&apos;ll have access to the ten years prior. This shouldn&apos;t be considered part of a good workflow for entering back-issues, obviously, though we certainly could improve. Any suggestions? A system-wide baseline date in the config file...?

-- editors will likely not assume that choosing the null option will fall back
to the Year identification value, and may even assume that choosing the null
option will &quot;unpublish&quot; the issue.

See below.

-- Specific to the Issue Data page: there are now two places to set the
publication date: in the Identification section as free-form fields, and again
for the issue status. However, the second option isn&apos;t seen until after the
issue is published (and only if/when the Editor returns to the Issue Data
page), and may be overlooked by Editors. 

Agreed that it&apos;s not currently ideal, but the combo of fields does cover two purposes: 1) the date for the sake of issue identification, in the age-old volume/number/year pattern, and 2) generating born-digital content with workflow data. For volume/number/year, we have only the Year for granularity. For the workflow, we have the exact date and time of publication. The only I can think of mixing the two granularities without poisoning data (i.e. assuming January 1st for a year, or truncating an exact date to just a year) is to keep both fields, and fall back on the coarser value when the finer one isn&apos;t available.

If we got rid of the issue date-published, then we would have to truncate dates to a year (or bend over backwards trying to implement flexible granularities); if we got rid of the issue year, importers would invent dates for back-issue imports.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <commentid>23185</commentid>
            <who name="James MacGregor">jmacgreg</who>
            <bug_when>2011-03-14 15:00:26 -0700</bug_when>
            <thetext>Hi Alec, 

&gt; -- journals who publish content from before 2001 may wonder why there isn&apos;t a
&gt; pre-2001 option;
&gt; 
&gt; We currently have a ten-years-behind, two-years-forward policy in a number
&gt; parts of the UI. To select an older publication date, it&apos;s a little clunky: you
&gt; need to choose an early date, and then you&apos;ll have access to the ten years
&gt; prior. This shouldn&apos;t be considered part of a good workflow for entering
&gt; back-issues, obviously, though we certainly could improve. Any suggestions? A
&gt; system-wide baseline date in the config file...?

That&apos;s a good question.  Could we add the option to the config file under the [interface] section, and then submit a bug for OJS 2.3.x to remind us to add something to Journal Setup Step 1.9 advising that those folks who will be publishing back issues older than n years should set the config variable. (Similar to our notes re: allow_envelope_sender, etc.) 

Otherwise, setting it to display the last 100 years now, and moving to a jQuery-type selector as Brian suggests in the future, might best serve the most people easiest right now. The only argument against this is that having a 100-year list might be too annoying for some users. In that case, what about defaulting to 100 years, but still having it configurable in the config file as you suggest? 
 
&gt; -- editors will likely not assume that choosing the null option will fall back
&gt; to the Year identification value, and may even assume that choosing the null
&gt; option will &quot;unpublish&quot; the issue.
&gt; 
&gt; See below.
&gt; 
&gt; -- Specific to the Issue Data page: there are now two places to set the
&gt; publication date: in the Identification section as free-form fields, and again
&gt; for the issue status. However, the second option isn&apos;t seen until after the
&gt; issue is published (and only if/when the Editor returns to the Issue Data
&gt; page), and may be overlooked by Editors. 
&gt; 
&gt; Agreed that it&apos;s not currently ideal, but the combo of fields does cover two
&gt; purposes: 1) the date for the sake of issue identification, in the age-old
&gt; volume/number/year pattern, and 2) generating born-digital content with
&gt; workflow data. For volume/number/year, we have only the Year for granularity.
&gt; For the workflow, we have the exact date and time of publication. The only I
&gt; can think of mixing the two granularities without poisoning data (i.e. assuming
&gt; January 1st for a year, or truncating an exact date to just a year) is to keep
&gt; both fields, and fall back on the coarser value when the finer one isn&apos;t
&gt; available.
&gt; 
&gt; If we got rid of the issue date-published, then we would have to truncate dates
&gt; to a year (or bend over backwards trying to implement flexible granularities);
&gt; if we got rid of the issue year, importers would invent dates for back-issue
&gt; imports.

OK, gotcha. I think this is something we can safely go with now and improve over time. Is there any way, though, to have the issue publication dropdowns visible/possibly editable before the issue is published, just so that Editors know the option is there?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <commentid>23207</commentid>
            <who name="Alec Smecher">alec</who>
            <bug_when>2011-03-15 17:40:03 -0700</bug_when>
            <thetext>&gt; OK, gotcha. I think this is something we can safely go with now and improve
&gt; over time. Is there any way, though, to have the issue publication dropdowns
&gt; visible/possibly editable before the issue is published, just so that Editors
&gt; know the option is there?

Hmm, I experimented with this a little and couldn&apos;t find anything satisfactory that doesn&apos;t involve new locale keys. The problem is the buttons:

[Save] [Publish Issue]

I tried options like...

[Save] [Publish Issue] [Year] [Month] [Day]

[Save] [Publish Issue] Published: [Year] [Month] [Day]

...but those imply that the Save button somehow interacts with the date fields.

On the other hand, this is also confusing:
[Save]
[Publish Issue] [Year] [Month] [Day]

...likewise for...

[Save]
[Publish Issue] Published: [Year] [Month] [Day]

Any ideas?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <commentid>23503</commentid>
            <who name="James MacGregor">jmacgreg</who>
            <bug_when>2011-04-07 10:46:43 -0700</bug_when>
            <thetext>(In reply to comment #6)
&gt; &gt; OK, gotcha. I think this is something we can safely go with now and improve
&gt; &gt; over time. Is there any way, though, to have the issue publication dropdowns
&gt; &gt; visible/possibly editable before the issue is published, just so that Editors
&gt; &gt; know the option is there?
&gt; 
&gt; Hmm, I experimented with this a little and couldn&apos;t find anything satisfactory
&gt; that doesn&apos;t involve new locale keys. The problem is the buttons:
&gt; 
&gt; [Save] [Publish Issue]
&gt; 
&gt; I tried options like...
&gt; 
&gt; [Save] [Publish Issue] [Year] [Month] [Day]
&gt; 
&gt; [Save] [Publish Issue] Published: [Year] [Month] [Day]
&gt; 
&gt; ...but those imply that the Save button somehow interacts with the date fields.
&gt; 
&gt; On the other hand, this is also confusing:
&gt; [Save]
&gt; [Publish Issue] [Year] [Month] [Day]
&gt; 
&gt; ...likewise for...
&gt; 
&gt; [Save]
&gt; [Publish Issue] Published: [Year] [Month] [Day]
&gt; 
&gt; Any ideas?

Alec, I agree that there&apos;s no good way to handle this without adding new locale keys. I think we should go ahead with the fix as is, and look at working it to make more sense for the next release.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <commentid>23582</commentid>
            <who name="Alec Smecher">alec</who>
            <bug_when>2011-04-15 08:46:39 -0700</bug_when>
            <thetext>Considering good for now. May choose to revisit date entry UI options later, when we have more flexibility e.g. around locale keys (= for a major release).</thetext>
          </long_desc>
      
      

    </bug>

</bugzilla>