? Pending

User tests: Successful: Unsuccessful:

avatar wilsonge
wilsonge
12 Sep 2019

Pull Request for Issue #26266 .

Summary of Changes

Fixes the console application when namespace file isn't present (there's a race condition between the constructor here of the console application and the app itself generating the namespace file - solution move it to execute (which is also what the CMSApplication class does anyhow)

Testing Instructions

On a working J4 installation run

rm libraries/autoload_psr4.php
php cli/joomla.php

see it crashes. Apply patch and run the two commands again. It works

Expected result

Console application generates the file and works.

Actual result

Console application crashes.

Documentation Changes Required

None

avatar wilsonge wilsonge - open - 12 Sep 2019
avatar wilsonge wilsonge - change - 12 Sep 2019
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 12 Sep 2019
Category Libraries
avatar wilsonge wilsonge - change - 12 Sep 2019
The description was changed
avatar wilsonge wilsonge - edited - 12 Sep 2019
avatar SharkyKZ SharkyKZ - test_item - 12 Sep 2019 - Tested successfully
avatar SharkyKZ
SharkyKZ - comment - 12 Sep 2019

I have tested this item successfully on 0f386c7


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

avatar franz-wohlkoenig franz-wohlkoenig - change - 12 Sep 2019
Title
Fix console application booting namespace mapper
[4.0] Fix console application booting namespace mapper
avatar franz-wohlkoenig franz-wohlkoenig - edited - 12 Sep 2019
avatar alikon alikon - test_item - 12 Sep 2019 - Tested successfully
avatar alikon
alikon - comment - 12 Sep 2019

I have tested this item successfully on 0f386c7


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

avatar alikon alikon - change - 12 Sep 2019
Status Pending Ready to Commit
avatar alikon
alikon - comment - 12 Sep 2019

RTC


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

avatar wilsonge wilsonge - change - 12 Sep 2019
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2019-09-12 20:40:50
Closed_By wilsonge
Labels Added: ?
avatar wilsonge wilsonge - close - 12 Sep 2019
avatar wilsonge wilsonge - merge - 12 Sep 2019
avatar wilsonge
wilsonge - comment - 12 Sep 2019

Thanks!

Add a Comment

Login with GitHub to post a comment