#126 Add empty array check
Closed by mvadkert. Opened by timitra.

we are not adding empty array checks in yaml template like so:

architecture:
- "#if(!$body.system.isEmpty())${body.system[0].architecture}#end"
variant:
- "#if(!$body.system.isEmpty())${body.system[0].variant}#end"

which is leading to exception while merging velocity template


https://pagure.io/fedora-ci/messages/pull-request/127

Closed via #117

Tagged to 1.1.8

Metadata Update from @mvadkert:
- Issue status updated to: Closed (was: Open)

we need to changes for release 1.1.16 and 1.1.17 as well

On Wed, Sep 1, 2021 at 2:14 PM Miroslav Vadkerti pagure@pagure.io wrote:

mvadkert added a new comment to an issue you are following:
``
Closed via #117

Tagged to 1.1.8
``

To reply, visit the link below or just reply to this email
https://pagure.io/fedora-ci/messages/issue/126

--
Tiyasha Mitra

Senior Software Engineer

timitra@redhat.com rcoe@redhat.com
M: 7981080387
https://www.redhat.com/

Metadata