Fixed
Details
Reporter
Tomasz WarcholTomasz WarcholComponents
Fix versions
Affects versions
Priority
Major
Details
Details
Reporter
Tomasz Warchol
Tomasz WarcholComponents
Fix versions
Affects versions
Priority
Created December 18, 2013 at 5:36 PM
Updated May 28, 2014 at 8:30 PM
Resolved May 28, 2014 at 8:30 PM
UpdateGenerator have changed recently to support magic strings ":value" and ":name". Consider however following scenario:
you create changeSet with id="whatever:value"
it is applied on the database
somehow checkSum is cleared
Liquibase attempts to recreate checkSum
Now - Liquibase will generate UpdateStatement for checksum, which contains ID in where clause. Since ID is "whatever:value", magic will happen and ":value" will be replaced with something. In my case on mssql this even produces SQL that is invalid.
Therefore: is it a bug? Can you change these tokens to something less commonly used? Can you add possibility to turn off this/modify tokens? Or maybe having colons in ID is forbidden?