Details
-
Bug
-
Resolution: Fixed
-
Major
-
4.3-milestone-2
-
None
-
Unknown
-
N/A
-
N/A
-
Description
The code displays a picker for templates if there are more than one templates, otherwise just uses the only existing template in a hidden input. However, when there are no templates, you get an IndexOutOfBoundsException because of using the 0 index on an empty list of templates.