Use context in xml and includeAll

When I use update command with --contexts=“en,test” and in sql changesets is

–changeset john.doe:init context:“en AND test”

Everything works fine and and in DATABASECHANGELOG table in column CONTEXTXS is “en AND test”.

But when context is in xml changelog in includeAll:

Everything works the same except in DATABASECHANGELOG table in column CONTEXTXS is “NULL”.

It looks like both work same but the “NULL” value in CONTEXTXS column is confusing.

Is it correct behavior or did I do something wrong?

1 Like

I think this issue was addressed in a recent release. Could you try the newest version of Liquibase and see if it works as expected?

Nathan