Skip to content

pkp/pkp-lib#11171 Config data reset for writing at installation #11295

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

Open
wants to merge 1 commit into
base: stable-3_5_0
Choose a base branch
from

Conversation

touhidurabir
Copy link
Member

for #11171

@@ -949,8 +951,11 @@ public function checkPhpVersion()
*/
public function updateRorRegistryDataset(): bool
{
PKPApplication::upgrade();
Copy link
Member Author

@touhidurabir touhidurabir Apr 18, 2025

Choose a reason for hiding this comment

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

Had to add this as below class calls internally PKPApplication::getHttpClient which try to retrieve the version information but we register the version details at the very end of installation phase and without this get null which raise exception .

This is due to the add of config reset after the config file update at the install phase which update the config installed to On which in return cause application to try to get version data before it got inserted and cause error as not available yet .

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.

1 participant