Unverified Commit 9096019a authored by akrherz's avatar akrherz

OF-1030 prevent entry of 'any' as date to cause exception

parent dbece192
......@@ -43,6 +43,11 @@
<h1>
Monitoring Plugin Changelog
</h1>
<p><b>1.5.8</b> -- Nov 13, 2017</p>
<ul>
<li>[<a href='https://issues.igniterealtime.org/browse/OF-1030'>OF-1030</a>] - Monitoring Service plugin Search Archive Date Range field validation</li>
</ul>
<p><b>1.5.7</b> -- May 19, 2017</p>
<ul>
<li>[<a href='https://issues.igniterealtime.org/browse/OF-1334'>OF-1334</a>] - Monitoring Plugin displays "Archive index rebuild failed"</li>
......
......@@ -5,8 +5,8 @@
<name>Monitoring Service</name>
<description>Monitors conversations and statistics of the server.</description>
<author>IgniteRealtime // Jive Software</author>
<version>1.5.7</version>
<date>5/19/2017</date>
<version>1.5.8</version>
<date>11/13/2017</date>
<minServerVersion>4.1.0</minServerVersion>
<databaseKey>monitoring</databaseKey>
<databaseVersion>4</databaseVersion>
......
......@@ -48,19 +48,19 @@
int numPages = 1;
int curPage = (start / range) + 1;
if (anyText.equals(participant1)) {
if (anyText.equalsIgnoreCase(participant1)) {
participant1 = null;
}
if (anyText.equals(participant2)) {
if (anyText.equalsIgnoreCase(participant2)) {
participant2 = null;
}
if (anyText.equals(startDate)) {
if (anyText.equalsIgnoreCase(startDate)) {
startDate = null;
}
if (anyText.equals(endDate)) {
if (anyText.equalsIgnoreCase(endDate)) {
endDate = null;
}
......@@ -471,7 +471,7 @@
'.textfield' : function(el) {
el.onblur = function() {
var va = el.value;
if (va.length == 0 || va == 'Any') {
if (va.length == 0 || va == 'Any' || va == 'any') {
this.style.backgroundColor = '#efefef';
el.value = "<%= anyText%>";
}
......@@ -858,4 +858,4 @@
public String getFormattedDate(Conversation conv) {
return JiveGlobals.formatDate(conv.getStartDate());
}
%>
\ No newline at end of file
%>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment