Uploaded image for project: 'Liquibase Core'
  1. CORE-3413

Getting intermittent changes in how filename + path is being processed by liquibase. Can't get relative path using CLI "sometimes".


    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects versions: 3.6.2
    • Fix versions: None
    • Environment:

      Oracle Database, CentOS 7.

    • Sprint:


      Running the following command results in SOMETIMES getting a relative path and SOMETIMES getting an absolute path in the database:

      liquibase --changeLogFile=db/changelog/db.changelog-master.xml --username=MY_USER --password=****** --url=jdbc:oracle:thin:@mydatabase --driver=oracle.jdbc.OracleDriver --contexts=MY_CONTEXT --labels= --classpath=/opt/liquibase/jdbc_drivers/ojdbc7.jar:/path/to/src/main/resources update

      The changeLogFile, in turn, has includes done in the following manner:

          <includeAll path="db/changelog/change-folder"/>

      I have verified it'll keep the absolute path even though the changeLogFile is set to a relative path.
      It seems like something about the include might cause it to switch to absolute path (but only some of the time?).

      I have literally just purged and rebuilt a schema and the next time i run it, it will do it relatively, so this is very weird.

        • UPDATE **

      This seems to correlate to issues for paths with spaces in them.




            • Reporter:
              wertnick Nick Wertzberger
            • Votes:
              0 Vote for this issue
              1 Start watching this issue


              • Created: