Adding comments to changesets no longer works reliably

After moving to 3.2, adding multiple comments to changelogs no longer seem to work reliably.


  1. at liquibase.Liquibase.update(Liquibase.java:245)


    Unable to see a pattern when it fails or not, but the code does work fine with 3.0


    (yes, I create the changelog programmatically by using objects generated from the xsd)



    Anything I’m doing wrong, or is this a bug? Better ways to add comments to generated SQL statements?


    Thanks.



Should I open a ticket for this?

3.2.0 is released now with additional fixes. If you are still seeing the problem, log a ticket with the details you have.


Nathan

I’m observing the same error message under 3.2.0 when I have multiple comment blocks in my changeSet.


liquibase.parser.core.ParsedNodeException: Multiple nodes match null/comment

at liquibase.integration.commandline.Main.main(Main.java:89)

https://liquibase.jira.com/browse/CORE-1918

In fact, using the latest commit, comments doesn’t appear to be working at all, in the sense that nothing appears in the output.

There’s something else going on here. In 3.0, when doing:



Any news on this? This prevents us from using latest liquibase version…

This is fixed for the upcoming 3.2.1 release. Planning on releasing it next week.


Nathan