How to prevent ROR from applying duplicate, incorrect affiliations with OJS 3.3 > 3.5 upgrade?

Describe the issue or problem
Where authors have put “York University” in the contributor affiliation field in 3.3, when we ran the upgrade to 3.5 the new ROR functionality did a lookup, decided that the authors must obviously be affiliated with both York Universities in the ROR directory, and has applied both affiliations to the metadata. Example.

This has forced incorrect affiliation metadata into our journals and possibly into anything harvesting them.

What application are you using?
Upgrade from OJS 3.3.0-22 to OJS 3.5.0-5

Additional information
This really sucks.

Hi @tmrozewski

Oh, sorry for that bug! :pensive_face: Thanks for reporting!
I opened a new issue where we will fix it: Author affiliation upgrade to 3.5 maps affiliation strings to multiple RORs · Issue #13274 · pkp/pkp-lib · GitHub .
I will also provide a CLI script for users in the same situation, to fix the problem. The old data (author affiliations) are still in the DB, so a recovery should be possible.
Now we decided not to try to map affiliation names to RORs – we will migrate them as they are.

Thanks!
Bozana

Thanks, @bozana The prospect of having to develop our own fix and remediate the journals we already migrated was daunting!