From: Krzysztof B. <kb...@un...> - 2019-12-14 10:02:32
|
Hi Sander, W dniu 13.12.2019 o 08:55, Sander Apweiler pisze: > Dear Krzysztof, > > we started to test unity 3.1.1. After the deployment the webadmin > endpoint throws a null pointer exception (log is attached). The > exception is raised after the authentication is finished and the > content should be loaded. Was there an additional change in the config? I think I understand what happened. I guess you was upgrading from 2.8.x to 3.1 via DB update. Is this correct? Assuming yes, we had a breaking change in internal representation of OAuth tokens, introduced in 3.0. There was no migration for it, as at the time this change was applied those tokens were wiped during migration. But at the same time (almost, actually bit after this change) we decided that oauth tokens (and all other) should not be wiped during migration. This is now implemented for DB upgrade and also for JSON migration since 3.1. But we havn't go back and write a migration for OAuth tokens, which started to be necessary after this change. I'll prepare a hotfix migration in 3.1.3 to correct this behavior, which will be released very soon. Thanks, Krzysztof |