manifoldcf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kishore Kumar (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CONNECTORS-1378) History reports end year resets to start year
Date Thu, 16 Feb 2017 16:44:41 GMT

     [ https://issues.apache.org/jira/browse/CONNECTORS-1378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Kishore Kumar resolved CONNECTORS-1378.
---------------------------------------
       Resolution: Fixed
    Fix Version/s: ManifoldCF 2.7

> History reports end year resets to start year
> ---------------------------------------------
>
>                 Key: CONNECTORS-1378
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-1378
>             Project: ManifoldCF
>          Issue Type: Bug
>          Components: Framework core
>    Affects Versions: ManifoldCF 2.6
>            Reporter: Kishore Kumar
>            Assignee: Kishore Kumar
>            Priority: Minor
>             Fix For: ManifoldCF 2.7
>
>
> Hi,
> 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.
> {code:title=simplereport.jsp|borderStyle=solid}
> <select class="schedulepulldown" name='reportendyear' size="3">
>   <option value="" <%=(endYear.length()==0)?"selected=\"selected\"":""%>>--
<%=Messages.getBodyString(pageContext.getRequest().getLocale(),"simplereport.NotSpecified")%>
--</option>
>   <% 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>
>   <% } %>
> </select>
> {code}
> I will commit the fix in few minutes.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message