We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15cf3e1 commit 304f000Copy full SHA for 304f000
core/src/main/java/google/registry/flows/FlowRunner.java
@@ -75,7 +75,8 @@ public EppOutput run(final EppMetric.Builder eppMetricBuilder) throws EppExcepti
75
flowReporter.recordToLogs();
76
}
77
eppMetricBuilder.setCommandNameFromFlow(flowClass.getSimpleName());
78
- if (!isTransactional) {
+ // We may already be in a transaction, e.g., when invoked by DeleteExpiredDomainsAction.
79
+ if (!isTransactional || jpaTransactionManager.inTransaction()) {
80
return EppOutput.create(flowProvider.get().run());
81
82
try {
0 commit comments