mirror of
https://github.com/google/nomulus.git
synced 2025-05-01 12:37:52 +02:00
This is currently erroring out on entities that fail to load properly through Objectify (e.g. because their entity type is no longer registered). The proper thing to do is to catch the error, log it, and fall back to the raw Datastore operation, which will succeed. The exact Exception this is designed to catch is: com.google.apphosting.runtime.jetty9.JettyLogger warn: /_dr/admin/deleteEntity (JettyLogger.java:29) java.lang.IllegalStateException: No registered subclass for discriminator 'DomainApplication' at com.googlecode.objectify.v4.impl.PolymorphicEntityMetadata.getConcrete(PolymorphicEntityMetadata.java:133) at com.googlecode.objectify.v4.impl.PolymorphicEntityMetadata.load(PolymorphicEntityMetadata.java:164) at com.googlecode.objectify.v4.impl.LoadEngine.load(LoadEngine.java:220) at com.googlecode.objectify.v4.impl.LoadEngine$1.nowUncached(LoadEngine.java:178) at com.googlecode.objectify.v4.impl.LoadEngine$1.nowUncached(LoadEngine.java:164) at com.googlecode.objectify.v4.util.ResultCache.now(ResultCache.java:30) at com.googlecode.objectify.v4.impl.Round$1.nowUncached(Round.java:73) at com.googlecode.objectify.v4.util.ResultCache.now(ResultCache.java:30) at com.googlecode.objectify.v4.LoadResult.now(LoadResult.java:25) at google.registry.tools.server.DeleteEntityAction.loadOfyEntity(DeleteEntityAction.java:103) at google.registry.tools.server.DeleteEntityAction.run(DeleteEntityAction.java:74) ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=230737553 |
||
---|---|---|
.. | ||
com/google/testing/builddefs | ||
google/registry |