A new topic, 'CustomChangeWrapper executes twice.', has been made on a board 
you are watching.

You can see it at
http://liquibase.org/forum/index.php?topic=615.new#new

The text of the topic is shown below:

Liquibase 2.0-rc2

---CustomChangeWrapper executes twice during update:
1 execution because of AbstractChange.warn:
Code:
at 
liquibase.change.custom.CustomChangeWrapper.generateStatements(CustomChangeWrapper.java:104)
        at liquibase.change.AbstractChange.warn(AbstractChange.java:77)
        at 
liquibase.changelog.visitor.ValidatingVisitor.visit(ValidatingVisitor.java:75)
        at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:39)
        at 
liquibase.changelog.DatabaseChangeLog.validate(DatabaseChangeLog.java:130)
        at liquibase.Liquibase.update(Liquibase.java:106)


2 execution is actual update:
Code:
        at 
liquibase.change.custom.CustomChangeWrapper.generateStatements(CustomChangeWrapper.java:104)
        at 
liquibase.database.AbstractDatabase.executeStatements(AbstractDatabase.java:945)
        at liquibase.changelog.ChangeSet.execute(ChangeSet.java:252)
        at 
liquibase.changelog.visitor.UpdateVisitor.visit(UpdateVisitor.java:27)
        at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:39)
        at liquibase.Liquibase.update(Liquibase.java:112)


---customChange from update part of changeset is executed during rollback if 
AbstractChange.warn is called:
Code:
        at 
liquibase.change.custom.CustomChangeWrapper.generateStatements(CustomChangeWrapper.java:104)
        at liquibase.change.AbstractChange.warn(AbstractChange.java:77)
        at 
liquibase.changelog.visitor.ValidatingVisitor.visit(ValidatingVisitor.java:75)
        at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:39)
        at 
liquibase.changelog.DatabaseChangeLog.validate(DatabaseChangeLog.java:130)
        at liquibase.Liquibase.rollback(Liquibase.java:234)


Should I file a bug?

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.
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Liquibase-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/liquibase-user

Reply via email to