Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unhelpful error message when script is incorrectly named #2553

Closed
juliahayward opened this issue Nov 4, 2019 · 0 comments
Labels
Milestone

Comments

@juliahayward
Copy link
Member

@juliahayward juliahayward commented Nov 4, 2019

Which version and edition of Flyway are you using?

6.0.8

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)

Yes

Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin)

Command line

Which database are you using (type & version)?

Postgres (but reproduces on any)

Which operating system are you using?

WIndows 10 (but reproduces on any)

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.)

Create a migration called V1_Test.sql - note single underscore and flyway info

What did you expect to see?

Flyway should give a helpful message about the file name

What did you see instead?

Flyway will try to interpret the word Test as part of a version number and throw an exception with an unhelpful message.

@juliahayward juliahayward added this to the Flyway 6.1.0 milestone Nov 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.