? ? Pending

User tests: Successful: Unsuccessful:

avatar roland-d
roland-d
1 Jun 2019

Summary of Changes

While trying to install a multi-language site I ran into several errors but was not given any information about them on screen. I found them in the XHR request and later in the log file.

Testing Instructions

  1. Get a clean Joomla 4 checkout
  2. Start the installation process
  3. When the installer is done with the basics, you see this screen:
    image
  4. Click on Customize Installation
  5. Select the Dutch language
  6. Scroll down and click Next
  7. You are back at step 3. If you are lucky you would see a message flash by
  8. Apply the patch
  9. Select the Dutch language
  10. Scroll down and click Next
  11. Now you stay on the page and see this warning message:
    image

I have another problem with the French language, here you see no warning but an error.

  1. Select the French language
  2. Scroll down and click Next
  3. Now you stay on the page and see this error message:
    image

Expected result

User is shown the error message

Actual result

Message is shown but page is immediately redirected so impossible to read.

Documentation Changes Required

None

avatar roland-d roland-d - open - 1 Jun 2019
avatar roland-d roland-d - change - 1 Jun 2019
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 1 Jun 2019
Category JavaScript Installation
avatar brianteeman
brianteeman - comment - 1 Jun 2019

Hi @roland-d thanks for this
The problem of the messages disappearing is not limited to the ones you identified but i am not at my pc this morning to look and my memory is failing

avatar roland-d
roland-d - comment - 1 Jun 2019

@brianteeman I can take a look later to see which others there are. Feel free to post your comments later on as I am not sure when I will be back.

avatar richard67
richard67 - comment - 1 Jun 2019

I have tested this item successfully on af98339

Tested a bit different to the description:

  1. Installed J4 with currend 4.0-dev.
  2. Customize installation: Tried Dutch language => Failed, but no warning or error message shown.
  3. Customize installation: Tried French language => Failed, but no warning or error message shown.
  4. Logged in at backend.
  5. Installed Patchtester (I have modified up-to-date package which works).
  6. Installed patch of this PR with Patchtester.
  7. npm i (Not necessary I guess, but who knows).
  8. Cleared database and removed configuration.php
  9. Repeated steps 1 to 3: This time the warning and error messages were shown.

In case of French language, I would like to see in addition to the error message the warning like shown for the Dutch language. But this might be done in another PR. This one here works as described.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/25078.
avatar richard67 richard67 - test_item - 1 Jun 2019 - Tested successfully
avatar infograf768
infograf768 - comment - 1 Jun 2019

Reminder. Afaik language installation atm is limited to french,german and persian.
it has always been broken at J4 installation time, but works fine from admin installer install languages.

avatar richard67
richard67 - comment - 1 Jun 2019

@infograf768 Sure, we know that. This PR uses that fact to have some error happening, and fixes the fact that the warnings or error messages never became visible.

avatar brianteeman
brianteeman - comment - 3 Jun 2019

I have tested this item successfully on af98339

Does what it says

Can you open an issue for the JNamespacePsr4Map not found


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/25078.
avatar brianteeman brianteeman - test_item - 3 Jun 2019 - Tested successfully
avatar franz-wohlkoenig franz-wohlkoenig - change - 3 Jun 2019
Status Pending Ready to Commit
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 3 Jun 2019

Status "Ready To Commit".

avatar infograf768 infograf768 - change - 4 Jun 2019
Labels Added: ?
avatar roland-d
roland-d - comment - 4 Jun 2019

@brianteeman I posted PR #25121 to fix the JNamespacePsr4Map error.

avatar brianteeman
brianteeman - comment - 4 Jun 2019

Thanks

avatar SniperSister SniperSister - change - 8 Jun 2019
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2019-06-08 19:13:14
Closed_By SniperSister
avatar SniperSister SniperSister - close - 8 Jun 2019
avatar SniperSister SniperSister - merge - 8 Jun 2019
avatar SniperSister
SniperSister - comment - 8 Jun 2019

Merged, thanks!

Add a Comment

Login with GitHub to post a comment