wildfly-extras / prospero

Prospero is a tool combining Galleon feature packs and wildfly-channels to provision and update Wildfly server.
Apache License 2.0
9 stars 24 forks source link

Prevent making changes when conflicts in an update are rejected #712

Closed spyrkob closed 3 months ago

spyrkob commented 3 months ago

The conflicts are resolved too early resulting in the changes being written even if the update has been rejected.

To reproduce:

  1. Install wildfly
  2. Prepare candidate update
  3. Force a conflict (e.g. modify module.xml in one of updated modules)
  4. Run update apply and reject update after the conflicts are displayed

The module.xml will be updated (and module.xml.glold will be created)