If there is an error during activation, the project should not show the "Installed" indicator

Created on 25 February 2025, about 1 month ago

Problem/Motivation

This was discovered during manual testing of πŸ“Œ Turn ActivationManager::getActivationInfo() into a dedicated normalizer Active . If you're activating a project and it has an error, the status badge in the project's card will still be changed to "Installed", even if the install faile

Steps to reproduce

Alter ModuleActivator::activate() to unconditionally throw an exception, then try to install a module with Project Browser. The error message will appear in the messages area, but the project will show an "installed" status.

Proposed resolution

In this case, the project's activation status on the frontend should be treated as "present", not "installed" or "absent". Probably, to the user, it should show the Install button, rather than pretending like it's installed.

πŸ› Bug report
Status

Active

Version

2.0

Component

User experience

Created by

πŸ‡ΊπŸ‡ΈUnited States phenaproxima Massachusetts

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024