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
Product: OMP
Classification: Unclassified
Component: User Interface
All All
: P3 normal
Assigned To: Alec Smecher
Depends on:
  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:

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
Comment 2 Alec Smecher 2014-03-31 09:08:01 PDT
Fix author settings (via upgrade script)
Comment 3 Alec Smecher 2014-03-31 09:11:02 PDT
Fix author settings (via upgrade script)
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:

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
Comment 6 Alec Smecher 2014-12-16 09:21:02 PST
Submodule update
Comment 7 Alec Smecher 2014-12-16 09:21:02 PST
Submodule update
Comment 8 Alec Smecher 2014-12-16 09:37:02 PST
Fix affiliation init that wasn't localized