Bug 6629

Summary: Registration "Registered" date incorrectly updated
Product: OCS Reporter: James MacGregor <jmacgreg>
Component: RegistrationsAssignee: James MacGregor <jmacgreg>
Status: RESOLVED FIXED    
Severity: normal CC: pkp-support
Priority: P3    
Version: 2.3.4   
Hardware: All   
OS: All   
Version Reported In: 2.3.3 Also Affects: OCS 2.3.3
Attachments: patch against master
Patch against OCS 2.3.3-1 (stable)

Description James MacGregor 2011-05-02 12:18:20 PDT
Created attachment 3500 [details]
patch against master

If a user registers eg on 2011-01-01, and the Editor edits (or even views and saves without editing) their registration, the "Registered" date changes to the current date. 

I've modified wuyh's fix at http://pkp.sfu.ca/support/forum/viewtopic.php?f=3&t=2602&p=28892#p28892; see attached. I think it works fine, but I'd like someone to take a look. 

If it looks good, I'll commit to master and stable.
Comment 1 Michael Felczak 2011-05-03 10:26:39 PDT
Looks good, James.

Can you please provide an updated patch against OCS 2.3.3-1 (stable) with the lib/pkp subcommit info removed + add to recommended patches list for OCS. Thanks!
Comment 2 James MacGregor 2011-05-03 12:30:31 PDT
Created attachment 3503 [details]
Patch against OCS 2.3.3-1 (stable)
Comment 3 James MacGregor 2011-05-03 12:31:09 PDT
Thanks, Michael! Committed to stable and master, and added a patch here against 2.3.3-1.