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

Including the same ChangeSet twice causes ValidationFailedException

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.1
    • Fix Version/s: 3.5.0
    • Component/s: None
    • Environment:

      Windows, Linux (Ubuntu)

      Description

      When including the same liquibase.xml multiple times, the DatabaseChangeLog.validate() method throws ValidationFailedException becuase the validatingVisitor.validationPassed() returns false (the size of the duplicateChangeSets is not 0).

      The documentation says that this use case should not cause any problem ("If you include a changelog twice, you shouldn’t run into problems").

        Attachments

          Activity

            People

            • Reporter:
              attila.kiss@everit.biz Attila Kiss
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: