Author with multiple roles in metadata shown as "Unknown"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Hello, and thanks for Calibre!
Calibre version: 3.0, Ubuntu 16.04/64 bit
In epubs we produce, the author in <dc:creator> tag is refined with the <meta property="role"> tag. Usually the author only has one "role", which is "aut". Sometimes authors have more than one role, like "wpr" (writer of preface) in addition to being "aut".
It seems that if an author has multiple roles, and the "aut" role is *not* the last role in the sequence, then Calibre lists the author as "Unknown". It's probably just picking the last role it finds, instead of enumerating the roles individually.
For example, this works OK (aut is at the end):
<dc:creator id="author">Lord Dunsany<
<meta property="role" refines="#author" scheme=
<meta property="role" refines="#author" scheme=
<meta property="role" refines="#author" scheme=
This shows "Unknown" (aut is at the beginning):
<dc:creator id="author">Lord Dunsany<
<meta property="role" refines="#author" scheme=
<meta property="role" refines="#author" scheme=
<meta property="role" refines="#author" scheme=
See this epub, which shows "Unknown": https:/
Fixed in branch master. The fix will be in the next release. calibre is usually released every alternate Friday.
status fixreleased