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 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-12-16 09:37 PST (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.
Comment 5 Alec Smecher 2014-12-16 09:20:03 PST
Fix affiliation init that wasn't localized
https://github.com/pkp/pkp-lib/commit/d980322f15ff6ac307eb88ba2478a46a01640d65
Comment 6 Alec Smecher 2014-12-16 09:21:02 PST
Submodule update
https://github.com/pkp/omp/commit/79e19ee9e875113520f4b72e5e542f26270c8c5b
Comment 7 Alec Smecher 2014-12-16 09:21:02 PST
Submodule update
https://github.com/pkp/omp/commit/faf4c3ddc5867d3d8744745f6a07d4553a33902b
Comment 8 Alec Smecher 2014-12-16 09:37:02 PST
Fix affiliation init that wasn't localized
https://github.com/pkp/pkp-lib/commit/c6ec68eba89a32b84e0c5c80dbf7f75ed60b884d