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

REGRESSION Install multiple language at once fails #13124

Closed
svenbluege opened this issue Dec 7, 2016 · 12 comments
Closed

REGRESSION Install multiple language at once fails #13124

svenbluege opened this issue Dec 7, 2016 · 12 comments

Comments

@svenbluege
Copy link
Contributor

svenbluege commented Dec 7, 2016

Steps to reproduce the issue

  1. open Joomla! lanugage manager
  2. click "install languages" button in the toolbar
  3. select two random languages
  4. click the install button in the toolbar

Expected result

The two selected languages are installed.

Actual result

An error message appears:

image

Fatal error: Nesting level too deep - recursive dependency? in /var/www/eventgallery/tests/joomla-cms3/libraries/joomla/event/dispatcher.php on line 197

System information (as much as possible)

  • PHP 7
  • Joomla 3.7.0-dev
  • LAMP

Additional comments

Installing those two languages one after another works. I use the JoomlaBrowser Codeception class to create a multilanguage environment. This is where I encountered this error.

@brianteeman
Copy link
Contributor

I used to do this many times during testing without any issues but today I can confirm the issue with the same error message. It must be a recent commit

@brianteeman brianteeman changed the title Install multiple language at once fails REGRESSION Install multiple language at once fails Dec 7, 2016
@Bakual
Copy link
Contributor

Bakual commented Dec 7, 2016

@mbabker Could that be related to #12977 as it has been merged yesterday and deals with installing packages.

@brianteeman
Copy link
Contributor

brianteeman commented Dec 7, 2016 via email

@andrepereiradasilva
Copy link
Contributor

this issue also happens on joomla installation if one try install two or more languages at same time (but we get no error there thanks to the "excelent" error handling of installation app 😞 ).

but in chrome dev tools one can see the error:

Fatal error: Nesting level too deep - recursive dependency? in /path/to/joomla-staging/libraries/joomla/event/dispatcher.php on line 197

@mbabker
Copy link
Contributor

mbabker commented Dec 7, 2016 via email

@infograf768
Copy link
Member

#13122 is not at stake.
It is indeed related to #12977 as I tested reverting it here.

@mbabker
Copy link
Contributor

mbabker commented Dec 8, 2016

Just like I said

The only thing I can think of is moving that line loading the in-class event listener to some place where it'll only run once.

What's probably happening is the event is getting registered on each install and that's throwing it for a loop. Let's not get trigger happy on the revert button now 😉

@Bakual
Copy link
Contributor

Bakual commented Dec 8, 2016

Let's not get trigger happy on the revert button now

Nah, I'm sure you can fix it. I have just no clue about which line you're talking 😄

@alikon
Copy link
Contributor

alikon commented Dec 8, 2016

any feedback #13134

@alikon
Copy link
Contributor

alikon commented Dec 8, 2016

sorry don't consider previuos attempt

@mbabker
Copy link
Contributor

mbabker commented Dec 9, 2016

See #13147

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

9 participants