? ? Pending

User tests: Successful: Unsuccessful:

avatar AndySDH
AndySDH
9 Jun 2019

Summary of Changes

This PR improves checks for empty output when rendering a field as part of field groups. Some checks were already there but not thorough, and empty output could occur in rare cases.

This makes sure that a field that has an empty value or an empty output does not get displayed in all cases.

One check comes from the original subfields PR (https://github.com/joomla/joomla-cms/pull/22446/files#diff-02a314737553eb71a8516e925b220cce) that was postponed to Joomla 4.
Another extra check I added myself.

Testing Instructions

Not much needed really. Just double checks.

Expected result

Field with empty output should never display

Actual result

Field with empty output could be displayed in rare occurrences

Documentation Changes Required

None

avatar AndySDH AndySDH - open - 9 Jun 2019
avatar AndySDH AndySDH - change - 9 Jun 2019
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 9 Jun 2019
Category Front End com_fields
avatar AndySDH AndySDH - change - 9 Jun 2019
The description was changed
avatar AndySDH AndySDH - edited - 9 Jun 2019
avatar AndySDH AndySDH - change - 9 Jun 2019
The description was changed
avatar AndySDH AndySDH - edited - 9 Jun 2019
avatar AndySDH AndySDH - change - 9 Jun 2019
The description was changed
avatar AndySDH AndySDH - edited - 9 Jun 2019
avatar AndySDH AndySDH - change - 9 Jun 2019
Labels Added: ?
avatar AndySDH
AndySDH - comment - 9 Jun 2019

Updated with @Quy suggestions, thanks!

avatar Quy
Quy - comment - 9 Jun 2019

I have tested this item successfully on ff61169


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

avatar Quy Quy - test_item - 9 Jun 2019 - Tested successfully
avatar richard67
richard67 - comment - 9 Jun 2019

I have tested this item successfully on ff61169


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

avatar richard67 richard67 - test_item - 9 Jun 2019 - Tested successfully
avatar Quy Quy - change - 9 Jun 2019
Status Pending Ready to Commit
avatar Quy
Quy - comment - 9 Jun 2019

RTC


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

avatar AndySDH AndySDH - change - 10 Jun 2019
Labels Added: ?
avatar viocassel
viocassel - comment - 10 Jun 2019

I have tested this item successfully on d6c16be


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

avatar viocassel
viocassel - comment - 10 Jun 2019

I have tested this item successfully on d6c16be


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

avatar viocassel viocassel - test_item - 10 Jun 2019 - Tested successfully
avatar AndySDH
AndySDH - comment - 12 Jun 2019

To merge in 3.9.8?

Edit: 3.9.9 now I guess :D

avatar Quy
Quy - comment - 12 Jun 2019

@AndySDH Please apply the suggested changes. It will not require retesting.

avatar AndySDH
AndySDH - comment - 12 Jun 2019

I wasn't too sure the suggested changes made much sense as there's no need to compare for data type when we are comparing to an empty string.

But ok, I applied them.

avatar AndySDH
AndySDH - comment - 25 Jun 2019

Reminder about this for 3.9.9

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 25 Jun 2019

Reminder about this for 3.9.9

calling Release Lead @HLeithner to be sure.

avatar HLeithner
HLeithner - comment - 25 Jun 2019

thx

avatar HLeithner HLeithner - change - 25 Jun 2019
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2019-06-25 12:28:52
Closed_By HLeithner
avatar HLeithner HLeithner - close - 25 Jun 2019
avatar HLeithner HLeithner - merge - 25 Jun 2019
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 5 Jul 2019

@AndySDH can you please mail me wohlkoenig.franz@gmail.com

avatar AndySDH
AndySDH - comment - 5 Jul 2019

@AndySDH can you please mail me wohlkoenig.franz@gmail.com

I did

Add a Comment

Login with GitHub to post a comment