Fix failing tests for Unsupported method 2488

This commit is contained in:
dotasek 2024-02-02 13:29:04 -05:00 committed by dotasek.dev
parent dfaf1babc0
commit 818b21e5ee
1 changed files with 4 additions and 1 deletions

View File

@ -813,7 +813,10 @@ public class VersionSpecificWorkerContextWrapper extends I18nBase implements IWo
@Override
public <T extends Resource> T findTxResource(Class<T> class_, String canonical, Resource sourceOfReference) {
throw new UnsupportedOperationException(Msg.code(2488));
if (canonical == null) {
return null;
}
return fetchResource(class_, canonical, sourceOfReference);
}
@Override