manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1507236 - in /manifoldcf/trunk: ./ connectors/jira/connector/src/main/java/org/apache/manifoldcf/authorities/authorities/jira/ connectors/jira/connector/src/main/resources/org/apache/manifoldcf/authorities/authorities/jira/ connectors/jira...
Date Fri, 26 Jul 2013 09:45:22 GMT
Author: kwright
Date: Fri Jul 26 09:45:22 2013
New Revision: 1507236

URL: http://svn.apache.org/r1507236
Log:
Fix for CONNECTORS-761.

Modified:
    manifoldcf/trunk/CHANGES.txt
    manifoldcf/trunk/connectors/jira/connector/src/main/java/org/apache/manifoldcf/authorities/authorities/jira/JiraAuthorityConnector.java
    manifoldcf/trunk/connectors/jira/connector/src/main/resources/org/apache/manifoldcf/authorities/authorities/jira/editConfiguration_jira_server.js
    manifoldcf/trunk/connectors/jira/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/jira/editConfiguration_jira_server.js

Modified: manifoldcf/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/CHANGES.txt?rev=1507236&r1=1507235&r2=1507236&view=diff
==============================================================================
--- manifoldcf/trunk/CHANGES.txt (original)
+++ manifoldcf/trunk/CHANGES.txt Fri Jul 26 09:45:22 2013
@@ -5,6 +5,10 @@ $Id$
 
 ======================= Release 1.3 =====================
 
+CONNECTORS-761: Fix broken tab in Jira authority connector, and
+don't use startsWith in javascript since IE doesn't recognize it.
+(Shinichiro Abe, Karl Wright)
+
 CONNECTORS-760: HDFSRepositoryConnector's version string is always start with '-'.
 (Minoru Osuka)
 

Modified: manifoldcf/trunk/connectors/jira/connector/src/main/java/org/apache/manifoldcf/authorities/authorities/jira/JiraAuthorityConnector.java
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/connectors/jira/connector/src/main/java/org/apache/manifoldcf/authorities/authorities/jira/JiraAuthorityConnector.java?rev=1507236&r1=1507235&r2=1507236&view=diff
==============================================================================
--- manifoldcf/trunk/connectors/jira/connector/src/main/java/org/apache/manifoldcf/authorities/authorities/jira/JiraAuthorityConnector.java
(original)
+++ manifoldcf/trunk/connectors/jira/connector/src/main/java/org/apache/manifoldcf/authorities/authorities/jira/JiraAuthorityConnector.java
Fri Jul 26 09:45:22 2013
@@ -52,7 +52,7 @@ public class JiraAuthorityConnector exte
   private final static String defaultAuthorityDenyToken = "DEAD_AUTHORITY";
 
   // Configuration tabs
-  private static final String JIRA_SERVER_TAB_PROPERTY = "JiraRepositoryConnector.Server";
+  private static final String JIRA_SERVER_TAB_PROPERTY = "JiraAuthorityConnector.Server";
   
   // Template names for configuration
   /**

Modified: manifoldcf/trunk/connectors/jira/connector/src/main/resources/org/apache/manifoldcf/authorities/authorities/jira/editConfiguration_jira_server.js
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/connectors/jira/connector/src/main/resources/org/apache/manifoldcf/authorities/authorities/jira/editConfiguration_jira_server.js?rev=1507236&r1=1507235&r2=1507236&view=diff
==============================================================================
--- manifoldcf/trunk/connectors/jira/connector/src/main/resources/org/apache/manifoldcf/authorities/authorities/jira/editConfiguration_jira_server.js
(original)
+++ manifoldcf/trunk/connectors/jira/connector/src/main/resources/org/apache/manifoldcf/authorities/authorities/jira/editConfiguration_jira_server.js
Fri Jul 26 09:45:22 2013
@@ -33,7 +33,7 @@ function checkConfig()
     return false;
   }
 
-  if (editconnection.jirapath.value != "" && !editconnection.jirapath.value.startsWith("/"))
+  if (editconnection.jirapath.value != "" && !(editconnection.jirapath.value.indexOf("/")
== 0))
   {
     alert("$Encoder.bodyJavascriptEscape($ResourceBundle.getString('JiraAuthorityConnector.JiraPathMustBeginWithASlash'))");
     editconnection.jirapath.focus();
@@ -78,7 +78,7 @@ function checkConfigForSave()
     return false;
   }
   
-  if (editconnection.jirapath.value != "" && !editconnection.jirapath.value.startsWith("/"))
+  if (editconnection.jirapath.value != "" && !(editconnection.jirapath.value.indexOf("/")
== 0))
   {
     alert("$Encoder.bodyJavascriptEscape($ResourceBundle.getString('JiraAuthorityConnector.JiraPathMustBeginWithASlash'))");
     SelectTab("$Encoder.bodyJavascriptEscape($ResourceBundle.getString('JiraAuthorityConnector.Server'))");

Modified: manifoldcf/trunk/connectors/jira/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/jira/editConfiguration_jira_server.js
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/connectors/jira/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/jira/editConfiguration_jira_server.js?rev=1507236&r1=1507235&r2=1507236&view=diff
==============================================================================
--- manifoldcf/trunk/connectors/jira/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/jira/editConfiguration_jira_server.js
(original)
+++ manifoldcf/trunk/connectors/jira/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/jira/editConfiguration_jira_server.js
Fri Jul 26 09:45:22 2013
@@ -33,7 +33,7 @@ function checkConfig()
     return false;
   }
 
-  if (editconnection.jirapath.value != "" && !editconnection.jirapath.value.startsWith("/"))
+  if (editconnection.jirapath.value != "" && !(editconnection.jirapath.value.indexOf("/")
== 0))
   {
     alert("$Encoder.bodyJavascriptEscape($ResourceBundle.getString('JiraRepositoryConnector.JiraPathMustBeginWithASlash'))");
     editconnection.jirapath.focus();
@@ -78,7 +78,7 @@ function checkConfigForSave()
     return false;
   }
   
-  if (editconnection.jirapath.value != "" && !editconnection.jirapath.value.startsWith("/"))
+  if (editconnection.jirapath.value != "" && !(editconnection.jirapath.value.indexOf("/")
== 0))
   {
     alert("$Encoder.bodyJavascriptEscape($ResourceBundle.getString('JiraRepositoryConnector.JiraPathMustBeginWithASlash'))");
     SelectTab("$Encoder.bodyJavascriptEscape($ResourceBundle.getString('JiraRepositoryConnector.Server'))");



Mime
View raw message