Skip to content

Temporarily Uninstalled components can be re-installed even if they do not meet the requirements #288

@FredrikLindgren

Description

@FredrikLindgren

Mod: test.tp2

BACKUP ~test/backup~
AUTHOR ~~

BEGIN test1

BEGIN test2

Mod: test2.tp2

BACKUP ~test2/backup~
AUTHOR ~~

BEGIN testA

BEGIN testB REQUIRE_COMPONENT ~test.tp2~ 0 ~missing requirement~

File: setup.sh

weinstall test2 --force-uninstall 1
weinstall test --force-uninstall 1
weinstall test2 --force-uninstall 0
weinstall test --force-uninstall 0

weinstall test --force-install 0
weinstall test2 --force-install 0
weinstall test --force-install 1
weinstall test2 --force-install 1

Set up and then uninstall test.tp2, component 0. The component test2.tp2 1 will be re-installed, as if test.tp2 0 were still installed. Any attempt to interact with test2.tp2 1 will thereafter result in the component summarily being uninstalled. The same issue cannot be observed if testA is the component with a requirement.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions