User tests: Successful: Unsuccessful:

avatar AndySDH
21 Dec 2020

Summary of Changes

Very quick fix.

It turns out that having a 0 as the value of a subfield wasn't outputting the value. This fixes it.

Testing Instructions

Create a subfields instance containing for example an integer field, or a text field, or a radio field, etc. that can contain a 0 value.

In the article form, give this field a 0 value inside the subfields.

Actual result BEFORE applying this Pull Request

The 0 values are not output, they're turned into an empty string.

Expected result AFTER applying this Pull Request

The 0 values are output correctly.

Documentation Changes Required


avatar AndySDH AndySDH - open - 21 Dec 2020
avatar AndySDH AndySDH - change - 21 Dec 2020
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 21 Dec 2020
Category Front End Plugins
avatar wilsonge wilsonge - change - 23 Dec 2020
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2020-12-23 01:00:34
Closed_By wilsonge
Labels Added: ?
avatar wilsonge wilsonge - close - 23 Dec 2020
avatar wilsonge wilsonge - merge - 23 Dec 2020
avatar wilsonge
wilsonge - comment - 23 Dec 2020

Merging this on review

Add a Comment

Login with GitHub to post a comment