Upgraded from liquibase 3.7.0 to 3.8.1 or 3.8.2 and now this error occurs when the change log contains catalogName="catalogue name" on any tags - createTable or addColumn etc.
3.7.0 works fine.
Is this deliberate or accidental?
Using mssql
mssql
Do you have a sample xml?
Can you please provide the exact error message?
The problem is reproducible easily. The combination of remarks and catalogName aren't allowed for mssql. It will work if remarks or catalogName is removed.
The error is:
catalogName is not allowed on mssql, dbchangelog.xml::ExceptionLog::SquirrelSystems
The command line is:
liquibase --changeLogFile=dbchangelog.xml --url=offline:mssql updateSQL
The changelog (saved in a file named dbchangelog.xml) is:
<?xml version="1.0" encoding="UTF-8"?>
<databaseChangeLog
xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext"
xmlnsro="http://www.liquibase.org/xml/ns/pro"
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.8.xsd
http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd
http://www.liquibase.org/xml/ns/pro http://www.liquibase.org/xml/ns/pro/liquibase-pro-3.8.xsd ">
<changeSet author="SquirrelSystems" id="ExceptionLog">
<createTable catalogName="SquirrelCMP" tableName="ExceptionLog">
<column defaultValueNumeric="0" name="CheckNo" remarks="True if this transaction has been voided" type="INTEGER">
<constraints nullable="false"/>
</column>
</createTable>
</changeSet>
</databaseChangeLog>
FYI. Issue occurs in 3.8.8 as well.