Bug 8663 - 'Array' displayed instead of the bio statement in synopsis
'Array' displayed instead of the bio statement in synopsis
Status: RESOLVED FIXED
Product: OMP
Classification: Unclassified
Component: User Interface
1.1.1
All All
: P3 normal
Assigned To: Alec Smecher
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-03-30 14:05 PDT by Bozana Bokan
Modified: 2014-03-31 09:14 PDT (History)
1 user (show)

See Also:
Version Reported In:
Also Affects:


Attachments
Patch against OMP 1.1.0 (1.13 KB, patch)
2014-03-31 09:14 PDT, Alec Smecher
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bozana Bokan 2014-03-30 14:05:57 PDT
Author's bio statement is not displayed in synopsis -- 'Array' is displayed.
Comment 1 Alec Smecher 2014-03-31 09:05:03 PDT
Fix storage of author affiliation and bio
https://github.com/pkp/pkp-lib/commit/03df814d3cdcb2eae37e343b04ff979f23bf13a0
Comment 2 Alec Smecher 2014-03-31 09:08:01 PDT
Fix author settings (via upgrade script)
https://github.com/pkp/omp/commit/debf78e7db0a95fa13defd070304d7bed9b2f1ce
Comment 3 Alec Smecher 2014-03-31 09:11:02 PDT
Fix author settings (via upgrade script)
https://github.com/pkp/omp/commit/608753bca97b92fde084c691b3f53ec3d32e177e
Comment 4 Alec Smecher 2014-03-31 09:14:20 PDT
Created attachment 4010 [details]
Patch against OMP 1.1.0

The attached patch will correct the way the contributor form saves author affiliations and biographies, resolving the "Array" display on the book's Summary page, which appears to affect authors whose biographies are stored in multiple languages.

Note that this will not correct existing problem data in the database. That can be done by running the code in this commit:
https://github.com/pkp/omp/commit/debf78e7db0a95fa13defd070304d7bed9b2f1ce

However, since this isn't expected to affect a large amount of data, the quickest way to correct existing data is to...
1. Apply the patch attached here
2. Open the "Edit" form for each affected author; click "Save" at the end of the form.