{$userGroup} in file upload instead of populating the field with the user group information

After upgrading from OJS to a few weeks ago (and then to, file upload processes do not populate the {$userGroup} in the filename with the actual userGroup. The user name and the filename displays correctly.


I have a multilingual installation, but the same happens if I try to upload from the different language environments.

Any guess why this happens and how I can fix it?

Hi @czirfusz,

What languages are you working with? Have you customized the common.file.namingPattern locale key (defined in lib/pkp/locale/en_US/common.xml, for example, for English)?

Alec Smecher
Public Knowledge Project Team

1 Like

Solved, thank you for the hint! I had a remnant of {$userGroup} in one language under the aforementioned locale key. This has already changed in this commit.