manifoldcf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kishore Kumar (JIRA)" <>
Subject [jira] [Created] (CONNECTORS-1378) History reports end year resets to start year
Date Thu, 16 Feb 2017 15:54:41 GMT
Kishore Kumar created CONNECTORS-1378:

             Summary: History reports end year resets to start year
                 Key: CONNECTORS-1378
             Project: ManifoldCF
          Issue Type: Bug
          Components: Framework core
    Affects Versions: ManifoldCF 2.6
            Reporter: Kishore Kumar
            Assignee: Kishore Kumar


The end time *_year_* of all the four history reports resets to start time year. This is because
of a typo in the jsp page, where startYear is used instead of endYear.

<select class="schedulepulldown" name='reportendyear' size="3">
  <option value="" <%=(endYear.length()==0)?"selected=\"selected\"":""%>>-- <%=Messages.getBodyString(pageContext.getRequest().getLocale(),"simplereport.NotSpecified")%>
  <% for(int year=2005; year <= java.util.Calendar.getInstance().get(java.util.Calendar.YEAR);
year++) {
      String selected = (startYear.equals(""+year))?"selected=\"selected\"":""; %>
  <option value="<%= year %>" <%= selected %>><%= year %></option>
  <% } %>

I will commit the fix in few minutes.

This message was sent by Atlassian JIRA

View raw message