? Success
Related to # 5286

User tests: Successful: Unsuccessful:

avatar big-wave-tim
big-wave-tim
3 Dec 2014

This is a fix for Issue #5286 "Fix for UX Issue: Error message should display in Red color instead of green text"

Call to enqueueMessage didn't have a message type passed to it. As a result enqueueMessage was defaulting to type 'message' (green message box) irrespective of the installation outcome.

Fix - introduced $msgType variable which is set according to installation outcome just after the $msg is initialised.

Recreated error on local joomla installation. Removed files from a Joomla components zip file, installed Joomla component via "Upload Package File" method, installation failed with green message box.

Tested installing via "Upload Package File" with both correct and broken zip files, all functioned as expected.

First pull request ever so please forgive any mistakes!!

avatar big-wave-tim big-wave-tim - open - 3 Dec 2014
avatar jissues-bot jissues-bot - change - 3 Dec 2014
Labels Added: ?
avatar brianteeman brianteeman - change - 3 Dec 2014
Rel_Number 5286
Relation Type Related to
avatar richard67
richard67 - comment - 3 Dec 2014

I have tested this with success, see following screenshots:
1. Without this PR
pr5300-snap1
2. With this PR
pr5300-snap2
@test OK

avatar richard67
richard67 - comment - 3 Dec 2014

P.S. I have tested on a clean 3.4.0 Alpha with a hacked xmap container, so please nobody shall think this normally happens when installing xmap

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

avatar brianteeman brianteeman - test_item - 3 Dec 2014 - Tested successfully
avatar richard67 richard67 - test_item - 3 Dec 2014 - Tested successfully
avatar roland-d roland-d - change - 3 Dec 2014
Status Pending Ready to Commit
avatar roland-d
roland-d - comment - 3 Dec 2014

Moving to RTC as we have 2 successful tests.

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

avatar brianteeman brianteeman - change - 3 Dec 2014
Labels Added: ?
avatar infograf768
infograf768 - comment - 8 Dec 2014

Thanks.

avatar zero-24 zero-24 - close - 8 Dec 2014
avatar infograf768 infograf768 - close - 8 Dec 2014
avatar infograf768 infograf768 - change - 8 Dec 2014
Status Ready to Commit Closed
Closed_Date 0000-00-00 00:00:00 2014-12-08 07:42:06
avatar zero-24 zero-24 - change - 14 Oct 2015
Labels Removed: ?

Add a Comment

Login with GitHub to post a comment