Skip to content

[4.2] Fix uninitialized version variable in installer library#37941

Merged
roland-d merged 3 commits intojoomla:4.2-devfrom
richard67:4.2-dev-fix-uninitialized-version-variable-in-installer
Jun 1, 2022
Merged

[4.2] Fix uninitialized version variable in installer library#37941
roland-d merged 3 commits intojoomla:4.2-devfrom
richard67:4.2-dev-fix-uninitialized-version-variable-in-installer

Conversation

@richard67
Copy link
Copy Markdown
Member

Pull Request for Issue #37934 .

Summary of Changes

Move the log of the version number on schema updates to below the code where the version number is set.

Testing Instructions

See issue #37934 .

But code review should be sufficient.

See also my comment in the issue why it is only a 4.2-dev issue and ok in 4.1-dev: #37934 (comment)

Actual result BEFORE applying this Pull Request

No installer error.

Expected result AFTER applying this Pull Request

PHP warning about uninitialized variable $version being used at line 1334 of file libraries/src/Installer/Installer.php.

Documentation Changes Required

None.

@Quy
Copy link
Copy Markdown
Contributor

Quy commented May 31, 2022

I have tested this item ✅ successfully on 4b0ee24


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/37941.

1 similar comment
@alikon
Copy link
Copy Markdown
Contributor

alikon commented Jun 1, 2022

I have tested this item ✅ successfully on 4b0ee24


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/37941.

@alikon
Copy link
Copy Markdown
Contributor

alikon commented Jun 1, 2022

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/37941.

@joomla-cms-bot joomla-cms-bot added the RTC This Pull Request is Ready To Commit label Jun 1, 2022
@roland-d roland-d merged commit 8aeb665 into joomla:4.2-dev Jun 1, 2022
@joomla-cms-bot joomla-cms-bot removed the RTC This Pull Request is Ready To Commit label Jun 1, 2022
@roland-d
Copy link
Copy Markdown
Contributor

roland-d commented Jun 1, 2022

Thanks everybody

@roland-d roland-d added this to the Joomla 4.2.0 milestone Jun 1, 2022
@richard67 richard67 deleted the 4.2-dev-fix-uninitialized-version-variable-in-installer branch June 1, 2022 19:11
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.

5 participants