? ? Success

User tests: Successful: Unsuccessful:

avatar Bakual
Bakual
17 Nov 2016

If you have a missing language manifest file (eg you deleted it accidentally), you will not be able to login to backend anymore because it will show you a big nice error.

Summary of Changes

Catching the Exception from JLanguage::parseXMLLanguageFile in JLanguageHelper:.getInstalledLanguages and show a useful warning instead.

Testing Instructions

  1. Install a second language
  2. Delete the language folders. Don't uninstall the language using the Extension Manager.
  3. Try editing your profile or log out from backend and try log in again.

With current staging, this will get you a big error and you can't do anything anymore.
With this patch you will get a warning "Could not parse language ArabicUnitag (ar-AA)" which should be more helpful and lets you proceed.

Documentation Changes Required

None

avatar Bakual Bakual - open - 17 Nov 2016
avatar Bakual Bakual - change - 17 Nov 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 17 Nov 2016
Category Administration Language & Strings Libraries
avatar andrepereiradasilva
andrepereiradasilva - comment - 17 Nov 2016

Already a PR for this #12783 - just needs another test

avatar Bakual
Bakual - comment - 17 Nov 2016

Ah, didn't see the other. Having a look.

avatar brianteeman
brianteeman - comment - 4 Dec 2016

@bakual can this be closes then?


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

avatar zero-24 zero-24 - change - 4 Dec 2016
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2016-12-04 17:47:31
Closed_By zero-24
avatar zero-24 zero-24 - close - 4 Dec 2016

Add a Comment

Login with GitHub to post a comment