<?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>5324</bug_id>
          
          <creation_ts>2010-04-19 10:54:00 -0700</creation_ts>
          <short_desc>Registration closes before end of day on the closing date</short_desc>
          <delta_ts>2012-03-15 09:46:46 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>OCS</product>
          <component>General</component>
          <version>2.3.5</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Mac OS X 10.3</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</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>michael.pkp</cc>
          <cf_reportedversion>2.3.0</cf_reportedversion>
          

      

      

      

          <long_desc isprivate="0">
            <commentid>19182</commentid>
            <who name="James MacGregor">jmacgreg</who>
            <bug_when>2010-04-19 10:54:37 -0700</bug_when>
            <thetext>Conference Timeline &quot;Close&quot; dates should be standardized to end-of-day, and this should be made explicit on the Timeline page, probably in the instructions at the top of page. 

Currently, the Abstract close date is set to close at 23:59:59 of the day specified in the timeline (see Bug 3369); however, other close dates appear to close at 00:00:00 of the day specified. 

I think that all close dates should be set to 23:59:59, as it is for abstract submission, even if it is confusing for conferences already using the system -- overly permissive is probably better than unexpectedly strict in this case (although I&apos;m happy to to hear objections to this). 

Information explicitly stating close times should also be added to the top of the page. Something like: 

&quot;All close times are set to happen at the end of the selected day.&quot;

(Courtesy of http://pkp.sfu.ca/support/forum/viewtopic.php?f=3&amp;t=6008&amp;p=22957#p22957)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <commentid>25444</commentid>
              <attachid>3644</attachid>
            <who name="Michael Felczak">michael.pkp</who>
            <bug_when>2011-09-19 12:57:26 -0700</bug_when>
            <thetext>Created attachment 3644
Patch against OCS pre-2.3.4</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <commentid>25445</commentid>
            <who name="Michael Felczak">michael.pkp</who>
            <bug_when>2011-09-19 13:00:03 -0700</bug_when>
            <thetext>Registration closes before end of day on the closing date
https://github.com/pkp/ocs/commit/fbad3b572c0127f678d24ee36259a26bcdb8fea7</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <commentid>25446</commentid>
            <who name="Michael Felczak">michael.pkp</who>
            <bug_when>2011-09-19 13:20:15 -0700</bug_when>
            <thetext>Thanks, James.

Looking at this in more detail,

a) conference timeline closing dates are being saved correctly in the db (with
a time of 23:59:59).

b) registration type closing date was saved correctly in the db, but
incorrectly retrieved via the DAO (missing time component).

c) registration option closing date was incorrectly being saved in the db as
date only (no time component).

For new installations, all close dates should now be saved and retrieved
correctly.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <commentid>25447</commentid>
            <who name="Michael Felczak">michael.pkp</who>
            <bug_when>2011-09-19 13:34:28 -0700</bug_when>
            <thetext>Existing installations that have not been upgraded to at least OCS 2.3.4 will need to be manually updated in order to modify the registration options closing date column:

ALTER TABLE registration_options CHANGE COLUMN closing_date closing_date DATETIME NOT NULL;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <commentid>25448</commentid>
            <who name="Michael Felczak">michael.pkp</who>
            <bug_when>2011-09-19 13:42:40 -0700</bug_when>
            <thetext>For all scheduled conferences created using a version of OCS older that OCS 2.3.4, the time component for registration option closing dates will be 00:00:00.

This can be updated to 23:59:59 by editing/re-saving all relevant registration options via the standard OCS conference manager pages.

The times will not be updated automatically by the OCS 2.3.4 upgrade script to ensure that conferences that expect the old behaviour (i.e. registration closing one day sooner) can decide whether the times should be updated.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <commentid>25449</commentid>
            <who name="Michael Felczak">michael.pkp</who>
            <bug_when>2011-09-19 14:05:02 -0700</bug_when>
            <thetext>Registration closes before end of day on the closing date
https://github.com/pkp/ocs/commit/645122f2071ab099baf074e23bd3c1422830220b</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <commentid>25450</commentid>
            <who name="Michael Felczak">michael.pkp</who>
            <bug_when>2011-09-19 14:08:56 -0700</bug_when>
            <thetext>Fixed.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>3644</attachid>
            <date>2011-09-19 12:57:00 -0700</date>
            <delta_ts>2011-09-19 12:57:26 -0700</delta_ts>
            <desc>Patch against OCS pre-2.3.4</desc>
            <filename>5324.diff</filename>
            <type>text/plain</type>
            <size>2474</size>
            <attacher>michael.pkp</attacher>
            
              <data encoding="base64">LS0tIGEvY2xhc3Nlcy9yZWdpc3RyYXRpb24vUmVnaXN0cmF0aW9uT3B0aW9uREFPLmluYy5waHAK
KysrIGIvY2xhc3Nlcy9yZWdpc3RyYXRpb24vUmVnaXN0cmF0aW9uT3B0aW9uREFPLmluYy5waHAK
QEAgLTE3OCw3ICsxNzgsNyBAQCBjbGFzcyBSZWdpc3RyYXRpb25PcHRpb25EQU8gZXh0ZW5kcyBE
QU8gewogCQkkcmVnaXN0cmF0aW9uT3B0aW9uLT5zZXRTY2hlZENvbmZJZCgkcm93WydzY2hlZF9j
b25mX2lkJ10pOwogCQkkcmVnaXN0cmF0aW9uT3B0aW9uLT5zZXRDb2RlKCRyb3dbJ2NvZGUnXSk7
CiAJCSRyZWdpc3RyYXRpb25PcHRpb24tPnNldE9wZW5pbmdEYXRlKCR0aGlzLT5kYXRlRnJvbURC
KCRyb3dbJ29wZW5pbmdfZGF0ZSddKSk7Ci0JCSRy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