Skip to content

N°9564 - Extension Mgmt : Analyse choices & show analysis result#916

Closed
odain-cbd wants to merge 4 commits into
feature/uninstallationfrom
feature/uninstallation2
Closed

N°9564 - Extension Mgmt : Analyse choices & show analysis result#916
odain-cbd wants to merge 4 commits into
feature/uninstallationfrom
feature/uninstallation2

Conversation

@odain-cbd
Copy link
Copy Markdown
Contributor

No description provided.

@odain-cbd odain-cbd requested a review from Timmy38 May 21, 2026 11:42
@odain-cbd odain-cbd self-assigned this May 21, 2026
@odain-cbd odain-cbd added internal Work made by Combodo Setup Related to the setup process (install / upgrade) labels May 21, 2026
@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps Bot commented May 21, 2026

Greptile Summary

This PR folds extension-removal analysis into the result page and updates setup module-choice handling. The main changes are:

  • Directs the feature selection form to AnalysisResult instead of the old analyze step.
  • Shows changed extension choices, cleanup plans, deletion execution, and setup launch controls in one Twig template.
  • Adds compile error handling around the dry removal analysis.
  • Changes runtime compilation dependency handling and wizard step cache behavior.
  • Updates tests and a setup-audit simulation helper.

Confidence Score: 3/5

This should be fixed before merging.

  • The back-office removal form can ignore the selected extension removals.

  • The dry analysis compile can stop before producing the cleanup plan.

  • A stale deletion form can still hit a runtime error instead of recovering cleanly.

  • DataFeatureRemovalController.php

  • runtimeenv.class.inc.php

Important Files Changed

Filename Overview
datamodels/2.x/combodo-data-feature-removal/src/Controller/DataFeatureRemovalController.php Merges analysis/result/deletion flow, but the direct form path can lose selected removals and stale deletion posts are not guarded.
setup/runtimeenv.class.inc.php Changes dependency sorting to abort during compile, which can block dry feature-removal analysis.
datamodels/2.x/combodo-data-feature-removal/templates/AnalysisResult.html.twig Combines feature choice display, deletion plan, execution summary, and setup launch controls.

Comments Outside Diff (1)

  1. datamodels/2.x/combodo-data-feature-removal/src/Controller/DataFeatureRemovalController.php, line 279-286 (link)

    P2 Stale deletion posts crash

    aDeletionExecutionSummary is removed from the session on the first deletion request, but this method still assumes it always unserializes to an array. A double-submit or browser back/resubmit after the first request makes Session::Get('aDeletionExecutionSummary') return an empty value, so $this->aDeletionExecutionSummary becomes false/null; the next array_key_exists() call then raises a TypeError instead of redisplaying a safe stale-form error.

Reviews (1): Last reviewed commit: "after merge adaptations" | Re-trigger Greptile

Comment thread setup/runtimeenv.class.inc.php
@odain-cbd odain-cbd force-pushed the feature/uninstallation2 branch from 4a565bd to a5b5d22 Compare May 21, 2026 11:52
@odain-cbd odain-cbd closed this May 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal Work made by Combodo Setup Related to the setup process (install / upgrade)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants