User tests: Successful: Unsuccessful:
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.
Not much needed really. Just double checks.
Field with empty output should never display
Field with empty output could be displayed in rare occurrences
None
Status | New | ⇒ | Pending |
Category | ⇒ | Front End com_fields |
Labels |
Added:
?
|
I have tested this item
I have tested this item
Status | Pending | ⇒ | Ready to Commit |
RTC
Labels |
Added:
?
|
I have tested this item
I have tested this item
To merge in 3.9.8?
Edit: 3.9.9 now I guess :D
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.
Reminder about this for 3.9.9
Reminder about this for 3.9.9
calling Release Lead @HLeithner to be sure.
thx
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 |
@AndySDH can you please mail me wohlkoenig.franz@gmail.com
@AndySDH can you please mail me wohlkoenig.franz@gmail.com
I did
Updated with @Quy suggestions, thanks!