We are moving to Git Issues for bug tracking in future releases. During transition, content will be in both tools. If you'd like to file a new bug, please create an issue.

Bug 6916 - Multiple listing entries for single paper
Multiple listing entries for single paper
Product: OCS
Classification: Unclassified
Component: Editing
All All
: P3 normal
Assigned To: Michael Felczak
Depends on:
  Show dependency treegraph
Reported: 2011-10-06 10:05 PDT by Michael Felczak
Modified: 2011-10-07 09:02 PDT (History)
2 users (show)

See Also:
Version Reported In:
Also Affects: OJS 2.3.7

Patch against OCS 2.3.3-1 (270 bytes, patch)
2011-10-06 22:00 PDT, Michael Felczak
Details | Diff
Patch against OJS 2.3.6 (272 bytes, patch)
2011-10-06 22:01 PDT, Michael Felczak
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Felczak 2011-10-06 10:05:38 PDT
Courtesy of:
Comment 1 Michael Felczak 2011-10-06 10:06:22 PDT
Primary author appears to be set for more than one author.
Comment 2 Michael Felczak 2011-10-06 10:26:38 PDT
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
Comment 3 Michael Felczak 2011-10-06 10:28:59 PDT
Likely affects OJS as well.
Comment 4 Michael Felczak 2011-10-06 21:45:01 PDT
Multiple listing entries for single paper
Comment 5 Michael Felczak 2011-10-06 21:47:07 PDT
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
Comment 6 Michael Felczak 2011-10-06 21:55:02 PDT
Multiple listing entries for single paper
Comment 7 Michael Felczak 2011-10-06 22:00:02 PDT
Multiple listing entries for single article
Comment 8 Michael Felczak 2011-10-06 22:00:02 PDT
Multiple listing entries for single article
Comment 9 Michael Felczak 2011-10-06 22:00:12 PDT
Created attachment 3653 [details]
Patch against OCS 2.3.3-1
Comment 10 Michael Felczak 2011-10-06 22:01:22 PDT
Created attachment 3654 [details]
Patch against OJS 2.3.6
Comment 11 Michael Felczak 2011-10-06 22:04:53 PDT
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.
Comment 12 Michael Felczak 2011-10-06 22:05:17 PDT
Comment 13 Alec Smecher 2011-10-07 09:02:49 PDT
Good catch -- those reference glitches are tricky.