Opened 8 years ago

Closed 8 years ago

#350 closed defect (fixed)

xml template processor crash on empty JSON array

Reported by: vadim.godunko Owned by:
Priority: major Milestone: 0.7.0
Component: Matreshka - XML Processor Version: 0.6.0
Keywords: Cc:


XML templates processor crash when container of 'for' loop is empty JSON array.

Change History (3)

comment:1 by vadim.godunko, 8 years ago

In 4772:

Add automated test.

Refs #350.

comment:2 by vadim.godunko, 8 years ago

In 4773:

Don't attempt to iterate over items of empty container.

Refs #350.

comment:3 by vadim.godunko, 8 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.