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 8256

Summary: URN/DOI extracts may attempt to fetch journal initials in a language the journal doesn't support
Product: OJS Reporter: Alec Smecher <alec>
Component: Plug-insAssignee: PKP Support <pkp-support>
Severity: normal CC: bozana.bokan
Priority: P3    
Version: 2.4.3   
Hardware: All   
OS: All   
Version Reported In: Also Affects:

Description Alec Smecher 2013-06-12 12:44:33 PDT
From Bozana:
> Using %j in the suffix pattern means $journal->getLocalizedSetting('initials').
> If the overall/site OAI interface is used where there is no journal context
> the LOCALE_DEFAULT is used, but a journal (in this installation) doesn't have
> to support this locale. Thus, in this case, this will be missing resp. there
> will be a %j in the DOI/URN resp. DOI/URN will be wrong. And, once saved (and
> not to mention registered) they cannot be or hardly changed any more :(
> Thus, should we maybe use $journal->getLocalizedSetting('initials',
> $journal->getPrimaryLocale()) here?

Comment 1 Alec Smecher 2013-06-12 12:53:02 PDT
Fix %j when site locale isn't supported by journal
Comment 2 Alec Smecher 2013-06-12 12:58:01 PDT
Fix %j when site locale isn't supported by journal (back-port for OJS 2.4.x)