J4 Issue ?
avatar joeforjoomla
joeforjoomla
17 Jun 2019

Steps to reproduce the issue

Install the latest nightly build

Expected result

Just works as previous ones

Actual result

Fatal error
image

System information (as much as possible)

This code in the bootstrap.php and cms.php causes the error, the TYPO3 package is not included at all

// Suppress phar stream wrapper for non .phar files
$behavior = new \TYPO3\PharStreamWrapper\Behavior;
\TYPO3\PharStreamWrapper\Manager::initialize(
	$behavior->withAssertion(new \TYPO3\PharStreamWrapper\Interceptor\PharExtensionInterceptor)
);
if (in_array('phar', stream_get_wrappers()))
{
	stream_wrapper_unregister('phar');
	stream_wrapper_register('phar', 'TYPO3\\PharStreamWrapper\\PharStreamWrapper');
}
avatar joeforjoomla joeforjoomla - open - 17 Jun 2019
avatar joomla-cms-bot joomla-cms-bot - change - 17 Jun 2019
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 17 Jun 2019
avatar franz-wohlkoenig franz-wohlkoenig - change - 17 Jun 2019
Labels Added: J4 Issue
avatar franz-wohlkoenig franz-wohlkoenig - labeled - 17 Jun 2019
avatar infograf768
infograf768 - comment - 17 Jun 2019

Did not test Nightly build, but got the same error after the 3.9.3 and 3.9.4 merges into 4.0 in my localhost instance clean install.
I solved it by using composer update and accepting to discard changes as I got this in Terminal

The package has modified files: 
M src/drone-run.sh 
Discard changes [y,n,v,d,?]? 
avatar brianteeman
brianteeman - comment - 17 Jun 2019

do a composer update - that fixed it for me

avatar infograf768
infograf768 - comment - 17 Jun 2019

Tested Nightly build. It should not happen with a Nightly build as one does not have to use composer in this case.

avatar joeforjoomla
joeforjoomla - comment - 17 Jun 2019

Indeed. Just now i have not composer to use.

avatar infograf768
infograf768 - comment - 17 Jun 2019

Informed Maintainers of this issue.

avatar joeforjoomla
joeforjoomla - comment - 17 Jun 2019

Thanks JM

avatar franz-wohlkoenig franz-wohlkoenig - change - 17 Jun 2019
Status New Closed
Closed_Date 0000-00-00 00:00:00 2019-06-17 08:18:13
Closed_By franz-wohlkoenig
avatar franz-wohlkoenig franz-wohlkoenig - close - 17 Jun 2019
avatar infograf768 infograf768 - change - 17 Jun 2019
Status Closed New
Closed_Date 2019-06-17 08:18:13
Closed_By franz-wohlkoenig
avatar infograf768
infograf768 - comment - 17 Jun 2019

@franz-wohlkoenig
Why closing? This is a real issue. Re-opening.

avatar infograf768 infograf768 - reopen - 17 Jun 2019
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 17 Jun 2019

thought its a Composer-issue.

avatar infograf768
infograf768 - comment - 17 Jun 2019

It is an issue with building Nightly. As it prevents from even installing J, I think it is better to leave it open until @wilsonge solves it, so that testers using only nightlies know about the issue.

avatar joeforjoomla
joeforjoomla - comment - 17 Jun 2019

Running composer update fixes the issue. The missing Typo3 library in the nightly build is correctly installed.

avatar wilsonge
wilsonge - comment - 17 Jun 2019

This is my bad. In the conflict fixing somehow the typo 3 package ended up in the dev dependencies section (which doesn’t ship in the production & nightly builds). I probably need to regenerate the lock file. But I’m not going to be able to today as I’m seeing family and heading back home in London. If anyone wants to pick it up. Just delete the lock file and run composer install and commit the new one. We’ll probably update some packages on the way but we’re still in active development so it’s no big deal

avatar HLeithner
HLeithner - comment - 17 Jun 2019

I updated the phar wrapper to 3.1.2 that should fix it, correct @wilsonge ?

avatar franz-wohlkoenig franz-wohlkoenig - change - 17 Jun 2019
Status New Discussion
avatar mbabker mbabker - change - 17 Jun 2019
Status Discussion Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2019-06-17 17:54:25
Closed_By mbabker
Rel_Number 0 25251
Relation Type Related to
Labels
Build staging 4.0-dev
avatar joomla-cms-bot joomla-cms-bot - change - 17 Jun 2019
Status Fixed in Code Base Closed
Closed_By mbabker joomla-cms-bot
Rel_Number 25251 0
Relation Type Related to
Labels
Build 4.0-dev staging
avatar joomla-cms-bot joomla-cms-bot - close - 17 Jun 2019
avatar joomla-cms-bot
joomla-cms-bot - comment - 17 Jun 2019

Set to "closed" on behalf of @mbabker by The JTracker Application at issues.joomla.org/joomla-cms/25248

avatar mbabker
mbabker - comment - 17 Jun 2019

Nightlies are being rebuilt with #25251 merged right now, updated package will be on the server within 2-3 minutes of this post. Note #25252 is included which bumps PHP minimum requirement to 7.2.

Closing.


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

Add a Comment

Login with GitHub to post a comment