Dependent Packs are activated by default if parent pack is required="no" and manually activated

Description

The Pack selection panel seems to have bug, when you have 2 packs that are not required and dependent on each other.

When you are in the PackPanel: activate the parent, the child seems to be activated too, but the checkbox still shows "unchecked". You can verify this by clicking the checkbox for pack2, is does not change on the first click.

You have to click the second Box 2 Times, to make it "activated".

This results in pack 2 always beeing installed, when you install/activate pack 1.

I have attached a projekt, which reproduces this bug in izpack 5.1.2

#Klick on pack 1

  1. The Click turns the box into the checked mode immediately

  2. Run the Installation

  3. Both files (from pack 1 and pack 2) are copied

Workaround:
#Klick on pack 1

  1. The Click turns the box into the checked mode immediately

  2. Klick on pack2

  3. The chechkbox does not change

  4. Klick again

  5. the Box is checked

  6. Klick again

  7. The Box is unchecked

  8. Run the Installation

  9. Only one file is copied (from pack1)

Environment

None

Assignee

Unassigned

Reporter

Stefan Moritz Murawski (oers)

Impact

None

Components

Affects versions

Priority

High
Configure