<BUG>final GenericValue userLogin = (GenericValue) FreeMarkerWorker.getWrappedObject("userLogin", env);List globalNodeTrail = (List) templateRoot.get("globalNodeTrail");</BUG><CONTEXT>if (fromDate == null)fromDate = UtilDateTime.nowTimestamp();String limitSize = (String) templateRoot.get("limitSize");final int returnLimit = Integer.parseInt(limitSize);String limitMode = (String) templateRoot.get("limitMode");<extra_id_0>String strNullThruDatesOnly = (String) templateRoot.get("nullThruDatesOnly");String orderBy = (String) templateRoot.get("orderBy");Boolean nullThruDatesOnly = (strNullThruDatesOnly != null && strNullThruDatesOnly.equalsIgnoreCase("true")) ? Boolean.TRUE : Boolean.FALSE;</CONTEXT>
final GenericValue userLogin = FreeMarkerWorker.getWrappedObject("userLogin", env);List globalNodeTrail = (List) templateRoot.get("globalNodeTrail");