flyway.errorOverrides broken within callbacks #2229
Which version and edition of Flyway are you using?
Flyway Pro Edition (20 schemas) 5.2.3
If this is not the latest version, can you reproduce the issue with the latest one as well?
(Many bugs are fixed in newer releases and upgrading will often resolve the issue)
Problem we are facing was resolved in 5.2.2
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin)
Which database are you using (type & version)?
Which operating system are you using?
What did you do?
(Please include the content causing the issue, any relevant configuration settings, the SQL statement that failed (if relevant) and the command you ran.)
What did you expect to see?
No warnings on PRINT. (because the PRO edition is supposed to honour the errorOverrides switch)
What did you see instead?
Executing SQL callback: afterMigrate [non-transactional]
The text was updated successfully, but these errors were encountered:
Thanks for the report. The callback was the key. errorOverrides are implemented internally as callbacks and we so far didn't handle callbacks within callbacks. We have now fixed this by making an exception and allowing errorOverrides to work within callbacks.