? Failure
Referenced as Pull Request for: # 9949

User tests: Successful: Unsuccessful:

avatar sergey-zero
sergey-zero
16 Nov 2015

Opera 15 + browsers detection in JBrowser.

How to test

You can use this code snippet for test of detection

jimport('joomla.environment.browser');
$browser = JBrowser::getInstance();
$browserType = $browser->getBrowser();
$browserVersion = $browser->getMajor();
var_dump($browserType, $browserVersion);
avatar sergey-zero sergey-zero - open - 16 Nov 2015
avatar sergey-zero sergey-zero - change - 16 Nov 2015
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 16 Nov 2015
Labels Added: ?
avatar piotr-cz
piotr-cz - comment - 17 Nov 2015

There is one more browser detection library shipped with joomla, JApplicationWebClient.

Adequate fix is here: joomla-framework/application#53

BTW: test fail because Please start your comment with a capital letter; found "// for opera 15+"

avatar wojsmol
wojsmol - comment - 18 Nov 2015
avatar zero-24 zero-24 - change - 25 Nov 2015
Category Libraries
avatar zero-24 zero-24 - change - 25 Nov 2015
Easy No Yes
avatar Bodge-IT Bodge-IT - test_item - 2 Feb 2016 - Tested successfully
avatar Bodge-IT
Bodge-IT - comment - 2 Feb 2016

I have tested this item :white_check_mark: successfully on a66d92a

Tested on UKFast hosting:
PHP: 5.4.45
MySQL: 5.5.37
Apache webserver


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

avatar Bodge-IT Bodge-IT - test_item - 2 Feb 2016 - Tested successfully
avatar Bodge-IT
Bodge-IT - comment - 2 Feb 2016

I have tested this item :white_check_mark: successfully on a66d92a

Tested on Namesco hosting:
PHP: 5.3.29
MySQL: 5.5.44-37.3-log
Apache webserver

Before patch got chrome 47 after patch, got opera 34 (correctly)


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

avatar roland-d
roland-d - comment - 14 Apr 2016

@sergey-zero can you please merge the PR by @piotr-cz Thanks.


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

avatar wojsmol
wojsmol - comment - 14 Apr 2016

@roland-d sergey-zero#1 is my PR :smile:
@sergey-zero Please merge mentioned PR

avatar henkrijneveld
henkrijneveld - comment - 15 Apr 2016

Tested with:

Opera 36
Linux 15.10
Php 5.6.20

Success!


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

avatar brianteeman brianteeman - alter_testresult - 15 Apr 2016 - henkrijneveld: Tested successfully
avatar designbengel designbengel - test_item - 15 Apr 2016 - Tested successfully
avatar designbengel
designbengel - comment - 15 Apr 2016

I have tested this item :white_check_mark: successfully on a66d92a


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

avatar roland-d
roland-d - comment - 16 Apr 2016

@sergey-zero Can you please fix the failed test. The error is:

FILE: ...travis/build/joomla/joomla-cms/libraries/joomla/environment/browser.php


FOUND 1 ERROR(S) AFFECTING 1 LINE(S)


248 | ERROR | Please start your comment with a capital letter; found "// for

 |       | opera 15+"

Thank you.

avatar wojsmol
wojsmol - comment - 16 Apr 2016

@roland-d PR sergey-zero#1 correcting this error is waiting for approval by @sergey-zero from 18 November 2015. If you do not have nothing against I will open a new PR without this error.

avatar wojsmol wojsmol - reference | ac888e7 - 16 Apr 16
avatar brianteeman
brianteeman - comment - 16 Apr 2016

Yes please create a new pr

avatar wojsmol
wojsmol - comment - 16 Apr 2016
avatar brianteeman brianteeman - change - 17 Apr 2016
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2016-04-17 00:18:58
Closed_By brianteeman
avatar brianteeman brianteeman - close - 17 Apr 2016

Add a Comment

Login with GitHub to post a comment