? ? Pending

User tests: Successful: Unsuccessful:

avatar SharkyKZ
SharkyKZ
11 Feb 2020

Summary of Changes

Fixes error on PHP 5.3.

Testing Instructions

Create a custom field.

Expected result

No errors.

Actual result

Parse error: syntax error, unexpected '[' in administrator\components\com_fields\models\fields\fieldlayout.php on line 39

Documentation Changes Required

No.

avatar SharkyKZ SharkyKZ - open - 11 Feb 2020
avatar SharkyKZ SharkyKZ - change - 11 Feb 2020
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 11 Feb 2020
Category Administration com_fields
avatar mbabker
mbabker - comment - 11 Feb 2020

There really should be a CI step linting files to make sure they stay compatible with a given PHP version. Or, just stop claiming PHP 5.3 compatibility; not only is it wasting people's time these days but there are 2-3 releases per year with bug fixes specifically for that PHP version.

avatar astridx
astridx - comment - 23 Feb 2020

Do I understand correctly that this PR should be tested especially under PHP 5.3?

I copied the code from this PR and created a Custom Field with the current ‎4.0.0-beta1-dev on Ubuntu with PHP 7.2 and MySQL 5.7. That was successful. Should I add this test in the tacker?

avatar alikon
alikon - comment - 23 Feb 2020

if i understand correctly this pr is for staging where we still claim to be 5.3.10 as a minimum requirements
for j4 the minimum should be 7.2.5
so should be tested on 3.x branch

avatar ReLater
ReLater - comment - 26 Feb 2020

I have tested this item successfully on 6dc7912

Code review.
(There is no XAMPP that matches 5.3 but higher/equal 5.3.10).


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

avatar ReLater ReLater - test_item - 26 Feb 2020 - Tested successfully
avatar joomdonation
joomdonation - comment - 26 Feb 2020

I have tested this item successfully on 6dc7912


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

avatar joomdonation joomdonation - test_item - 26 Feb 2020 - Tested successfully
avatar Quy
Quy - comment - 26 Feb 2020

RTC

avatar Quy Quy - change - 26 Feb 2020
Status Pending Ready to Commit
avatar Quy
Quy - comment - 26 Feb 2020

RTC


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

avatar laoneo laoneo - change - 27 Feb 2020
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2020-02-27 13:20:14
Closed_By laoneo
Labels Added: ? ?
avatar laoneo laoneo - close - 27 Feb 2020
avatar laoneo laoneo - merge - 27 Feb 2020

Add a Comment

Login with GitHub to post a comment