Liquibase Community Forum
2011-01-17 09:14:26 UTC
A new topic, 'Unable to work through tutorial (ValidationFailedException)', has been made on a board you are watching.
You can see it at
http://liquibase.org/forum/index.php?topic=943.new#new
The text of the topic is shown below:
I'm trying to get through the oracle tutorial for liquibase (updating files to the 2.0 version of liquibase and using mysql as dbms)
I've stoped on the Step 7, cause of ValidationFailedException on trying to execute lb_update batch-script.
Validation of the file looks pretty strange:
Code:
Validation Error:
I would expect more information about a validation error. It looks like a bug.
The update command produces following output:
Code:
INFO 17.01.11 09:58:liquibase: Successfully acquired change log lock
INFO 17.01.11 09:58:liquibase: Reading from `DATABASECHANGELOG`
INFO 17.01.11 09:58:liquibase: Reading from `DATABASECHANGELOG`
INFO 17.01.11 09:58:liquibase: Successfully released change log lock
Liquibase Update Failed: Validation Failed:
2 changes have validation failures
columnDataType is required, v001/2009-10-16-102.xml::1::jsmith::(Checksum: 3:b9e012def9932cf04f45c992283e45be)
columnDataType is required, v001/2009-10-16-102.xml::1::jsmith::(Checksum: 3:b9e012def9932cf04f45c992283e45be)
SEVERE 17.01.11 09:58:liquibase: Validation Failed:
2 changes have validation failures
columnDataType is required, v001/2009-10-16-102.xml::1::jsmith::(Checksum: 3:b9e012def9932cf04f45c992283e45be)
columnDataType is required, v001/2009-10-16-102.xml::1::jsmith::(Checksum: 3:b9e012def9932cf04f45c992283e45be)
liquibase.exception.ValidationFailedException: Validation Failed:
2 changes have validation failures
columnDataType is required, v001/2009-10-16-102.xml::1::jsmith::(Checksum: 3:b9e012def9932cf04f45c992283e45be)
columnDataType is required, v001/2009-10-16-102.xml::1::jsmith::(Checksum: 3:b9e012def9932cf04f45c992283e45be)
at liquibase.changelog.DatabaseChangeLog.validate(DatabaseChangeLog.java:138)
at liquibase.Liquibase.update(Liquibase.java:110)
at liquibase.integration.commandline.Main.doMigration(Main.java:686)
at liquibase.integration.commandline.Main.main(Main.java:115)
I've attached the version of the project I use (without mysql driver).
Unsubscribe to new topics from this board by clicking here: http://liquibase.org/forum/index.php?action=notifyboard;board=1.0
Regards,
The Liquibase Community Forum Team.
You can see it at
http://liquibase.org/forum/index.php?topic=943.new#new
The text of the topic is shown below:
I'm trying to get through the oracle tutorial for liquibase (updating files to the 2.0 version of liquibase and using mysql as dbms)
I've stoped on the Step 7, cause of ValidationFailedException on trying to execute lb_update batch-script.
Validation of the file looks pretty strange:
Code:
Validation Error:
I would expect more information about a validation error. It looks like a bug.
The update command produces following output:
Code:
INFO 17.01.11 09:58:liquibase: Successfully acquired change log lock
INFO 17.01.11 09:58:liquibase: Reading from `DATABASECHANGELOG`
INFO 17.01.11 09:58:liquibase: Reading from `DATABASECHANGELOG`
INFO 17.01.11 09:58:liquibase: Successfully released change log lock
Liquibase Update Failed: Validation Failed:
2 changes have validation failures
columnDataType is required, v001/2009-10-16-102.xml::1::jsmith::(Checksum: 3:b9e012def9932cf04f45c992283e45be)
columnDataType is required, v001/2009-10-16-102.xml::1::jsmith::(Checksum: 3:b9e012def9932cf04f45c992283e45be)
SEVERE 17.01.11 09:58:liquibase: Validation Failed:
2 changes have validation failures
columnDataType is required, v001/2009-10-16-102.xml::1::jsmith::(Checksum: 3:b9e012def9932cf04f45c992283e45be)
columnDataType is required, v001/2009-10-16-102.xml::1::jsmith::(Checksum: 3:b9e012def9932cf04f45c992283e45be)
liquibase.exception.ValidationFailedException: Validation Failed:
2 changes have validation failures
columnDataType is required, v001/2009-10-16-102.xml::1::jsmith::(Checksum: 3:b9e012def9932cf04f45c992283e45be)
columnDataType is required, v001/2009-10-16-102.xml::1::jsmith::(Checksum: 3:b9e012def9932cf04f45c992283e45be)
at liquibase.changelog.DatabaseChangeLog.validate(DatabaseChangeLog.java:138)
at liquibase.Liquibase.update(Liquibase.java:110)
at liquibase.integration.commandline.Main.doMigration(Main.java:686)
at liquibase.integration.commandline.Main.main(Main.java:115)
I've attached the version of the project I use (without mysql driver).
Unsubscribe to new topics from this board by clicking here: http://liquibase.org/forum/index.php?action=notifyboard;board=1.0
Regards,
The Liquibase Community Forum Team.