SQL*Plus @ with file path fails to load correct file #2383
Which version and edition of Flyway are you using?
Flyway Pro Edition (trial) 5.2.4
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)
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin)
Which database are you using (type & version)?
Oracle RDS Instance Engine version: 188.8.131.52.ru-2019-01.rur-2019-01.r1
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.)
I am using flyway pro with oracleSqlplus enabled. I created a folder structure to organize scripts based on objects. Trying to use @ (with path) in the flyway version scripts, which is not working.
What did you expect to see?
What did you see instead?
org.flywaydb.core.api.FlywayException: SP2-0310: unable to open file "topFolder/folderCommon/AScript.sql"
The text was updated successfully, but these errors were encountered:
Thank you very much for investigating and submitting the detailed report. We indeed incorrectly ignored the path. This has now been fixed.
This now also means that you now need to add a path where it was previously missing, but erroneously working such as in