Author: kishore
Date: Thu Feb 16 16:25:46 2017
New Revision: 1783246
URL: http://svn.apache.org/viewvc?rev=1783246&view=rev
Log:
Fix for CONNECTORS-1378
Modified:
manifoldcf/trunk/CHANGES.txt
manifoldcf/trunk/framework/crawler-ui/src/main/webapp/maxactivityreport.jsp
manifoldcf/trunk/framework/crawler-ui/src/main/webapp/maxbandwidthreport.jsp
manifoldcf/trunk/framework/crawler-ui/src/main/webapp/resultreport.jsp
manifoldcf/trunk/framework/crawler-ui/src/main/webapp/simplereport.jsp
Modified: manifoldcf/trunk/CHANGES.txt
URL:
http://svn.apache.org/viewvc/manifoldcf/trunk/CHANGES.txt?rev=1783246&r1=1783245&r2=1783246&view=diff
==============================================================================
--- manifoldcf/trunk/CHANGES.txt (original)
+++ manifoldcf/trunk/CHANGES.txt Thu Feb 16 16:25:46 2017
@@ -3,6 +3,9 @@ $Id$
======================= 2.7-dev =====================
+CONNECTORS-1378: History reports End time year resets to Start Time year
+(Kishore Kumar)
+
CONNECTORS-1372: Bizarre errors while reading data out of a RepositoryDocument
in some cases. This was due to the implicit conversion of Readers to
Strings.
Modified:
manifoldcf/trunk/framework/crawler-ui/src/main/webapp/maxactivityreport.jsp
URL:
http://svn.apache.org/viewvc/manifoldcf/trunk/framework/crawler-ui/src/main/webapp/maxactivityreport.jsp?rev=1783246&r1=1783245&r2=1783246&view=diff
==============================================================================
--- manifoldcf/trunk/framework/crawler-ui/src/main/webapp/maxactivityreport.jsp
(original)
+++ manifoldcf/trunk/framework/crawler-ui/src/main/webapp/maxactivityreport.jsp
Thu Feb 16 16:25:46 2017
@@ -613,7 +613,7 @@ function isInteger(value)
<select class="schedulepulldown" name='reportendyear' size="3">
<option value=""
<%=(endYear.length()==0)?"selected=\"selected\"":""%>>--
<%=Messages.getBodyString(pageContext.getRequest().getLocale(),"maxactivityreport.NotSpecified")%>
--</option>
<% for(int year=2005; year <=
java.util.Calendar.getInstance().get(java.util.Calendar.YEAR); year++) {
- String selected =
(startYear.equals(""+year))?"selected=\"selected\"":""; %>
+ String selected =
(endYear.equals(""+year))?"selected=\"selected\"":""; %>
<option value="<%= year %>" <%= selected %>><%= year
%></option>
<% } %>
</select>
Modified:
manifoldcf/trunk/framework/crawler-ui/src/main/webapp/maxbandwidthreport.jsp
URL:
http://svn.apache.org/viewvc/manifoldcf/trunk/framework/crawler-ui/src/main/webapp/maxbandwidthreport.jsp?rev=1783246&r1=1783245&r2=1783246&view=diff
==============================================================================
---
manifoldcf/trunk/framework/crawler-ui/src/main/webapp/maxbandwidthreport.jsp
(original)
+++
manifoldcf/trunk/framework/crawler-ui/src/main/webapp/maxbandwidthreport.jsp
Thu Feb 16 16:25:46 2017
@@ -613,7 +613,7 @@ function isInteger(value)
<select class="schedulepulldown" name='reportendyear' size="3">
<option value=""
<%=(endYear.length()==0)?"selected=\"selected\"":""%>>--
<%=Messages.getBodyString(pageContext.getRequest().getLocale(),"maxbandwidthreport.NotSpecified")%>
--</option>
<% for(int year=2005; year <=
java.util.Calendar.getInstance().get(java.util.Calendar.YEAR); year++) {
- String selected =
(startYear.equals(""+year))?"selected=\"selected\"":""; %>
+ String selected =
(endYear.equals(""+year))?"selected=\"selected\"":""; %>
<option value="<%= year %>" <%= selected %>><%= year
%></option>
<% } %>
</select>
Modified: manifoldcf/trunk/framework/crawler-ui/src/main/webapp/resultreport.jsp
URL:
http://svn.apache.org/viewvc/manifoldcf/trunk/framework/crawler-ui/src/main/webapp/resultreport.jsp?rev=1783246&r1=1783245&r2=1783246&view=diff
==============================================================================
--- manifoldcf/trunk/framework/crawler-ui/src/main/webapp/resultreport.jsp
(original)
+++ manifoldcf/trunk/framework/crawler-ui/src/main/webapp/resultreport.jsp Thu
Feb 16 16:25:46 2017
@@ -640,7 +640,7 @@ function isInteger(value)
<select class="schedulepulldown" name='reportendyear' size="3">
<option value=""
<%=(endYear.length()==0)?"selected=\"selected\"":""%>>--
<%=Messages.getBodyString(pageContext.getRequest().getLocale(),"resultreport.NotSpecified")%>
--</option>
<% for(int year=2005; year <=
java.util.Calendar.getInstance().get(java.util.Calendar.YEAR); year++) {
- String selected =
(startYear.equals(""+year))?"selected=\"selected\"":""; %>
+ String selected =
(endYear.equals(""+year))?"selected=\"selected\"":""; %>
<option value="<%= year %>" <%= selected %>><%= year
%></option>
<% } %>
</select>
Modified: manifoldcf/trunk/framework/crawler-ui/src/main/webapp/simplereport.jsp
URL:
http://svn.apache.org/viewvc/manifoldcf/trunk/framework/crawler-ui/src/main/webapp/simplereport.jsp?rev=1783246&r1=1783245&r2=1783246&view=diff
==============================================================================
--- manifoldcf/trunk/framework/crawler-ui/src/main/webapp/simplereport.jsp
(original)
+++ manifoldcf/trunk/framework/crawler-ui/src/main/webapp/simplereport.jsp Thu
Feb 16 16:25:46 2017
@@ -569,7 +569,7 @@ function isInteger(value)
<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\"":""; %>
+ String selected =
(endYear.equals(""+year))?"selected=\"selected\"":""; %>
<option value="<%= year %>" <%= selected %>><%= year
%></option>
<% } %>
</select>