Skip to content

Conversation

@sreichel
Copy link
Contributor

Copilot AI review requested due to automatic review settings December 27, 2025 21:25
@github-actions github-actions bot added the Mage.php Relates to app/Mage.php label Dec 27, 2025
@sreichel sreichel changed the title fix install wizard Fix install wizard Dec 27, 2025
@sreichel sreichel added the bug label Dec 27, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes the install wizard by properly detecting whether the installation has been completed. The key issue was that the installation check didn't account for the temporary placeholder date value ('d-d-d-d-d') that is set in local.xml during the installation process.

Key Changes:

  • Extracts the installation date to a variable for improved readability
  • Adds an explicit check to exclude the temporary install date placeholder before determining if installation is complete
  • Refactors the date validation logic into multiple clear conditions

@sreichel sreichel requested a review from addison74 December 27, 2025 21:51
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

@addison74
Copy link
Contributor

The implementation appears to be OK. The installation process in the browser was successful, without errors.

@sreichel - Please review #5189 to analyze if more changes are requested for migrating to Carbon library.

@sreichel sreichel added this to the 20.17.0 milestone Jan 1, 2026
@sonarqubecloud
Copy link

sonarqubecloud bot commented Jan 1, 2026

@sreichel sreichel merged commit 25296ae into OpenMage:main Jan 1, 2026
21 checks passed
@sreichel sreichel deleted the fix/5188 branch January 1, 2026 06:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Mage.php Relates to app/Mage.php

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Installation fails due to unhandled Carbon parse exception in Mage::isInstalled()

2 participants