PKP Bugzilla – Bug 6916
Multiple listing entries for single paper
Last modified: 2011-10-07 09:02:49 PDT
Courtesy of: http://pkp.sfu.ca/support/forum/viewtopic.php?f=3&t=7938
Primary author appears to be set for more than one author.
The following will result in the primary contact field being set for multiple authors: - Save paper metadata with only one author. - Edit paper metadata, add second author and designate as primary contact
Likely affects OJS as well.
Multiple listing entries for single paper https://github.com/pkp/ocs/commit/1add0a4e34198bc2d76fad518000d0cf41166a98
This was somewhat tricky to debug: - reference to the first author was not being unset - second author data overwrote first author data - second author was inserted into the db - second author was updated in the db - first author was never updated - first author primary contact was never set to 0
Multiple listing entries for single paper https://github.com/pkp/ocs/commit/d507def599f3c3bef764b4224c8dbf1898dbd58a
Multiple listing entries for single article https://github.com/pkp/ojs/commit/4d4eda3efc53f5c7631fd7cb08a84ec38a9cd0e3
Multiple listing entries for single article https://github.com/pkp/ojs/commit/568841b67115b12cf5bded41b22761db91ef2760
Created attachment 3653 [details] Patch against OCS 2.3.3-1
Created attachment 3654 [details] Patch against OJS 2.3.6
To restore a paper/article that is being displayed multiple times in a Director/Editor listing: - apply the patch to your install - edit the paper/article metadata - save the paper/article metadata This should reset the primary contact field so that it's set for only one author.
Fixed.
Good catch -- those reference glitches are tricky.