Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BIID-97: Fix pending upgrade after installed the extension. #87

Closed
wants to merge 3 commits into from

Conversation

erawat
Copy link
Member

@erawat erawat commented Jan 2, 2024

Overview

This pull request addresses the issue encountered during the initial installation of the extension when CiviCRM continues to throw an error due to pending upgrades for the extension. The problem has been resolved with this pull request.

screenshot-biid localhost_9021-2024 01 02-18_55_54

The reason for CiviCRM displaying a pending upgrade for the extension is that the certificate extension overrides the onPostInstall method to set up certificate entities but lacks the logic to establish the current revision. To address this, I refactored the onPostInstall method into postInstall, ensuring it is called from the base class after setting the current revision. The modifications made during this process can be reviewed in this commit.

Additionally, this pull request upgrades Civix from version 22.05.2 to version 23.02.1, which is included in CompuContainer. This update is crucial for future compatibility with newer versions of Civi. The upgrade was executed automatically using the civix upgrade command.

@erawat erawat changed the title BIID-97: Upgrade civix from version 22.05.2 to 23.02.1 BIID-97: Fix pending upgrade after installed the extension. Jan 2, 2024
@erawat erawat closed this Jan 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants