Author: kwright
Date: Sun Mar 31 13:21:36 2013
New Revision: 1462944
URL: http://svn.apache.org/r1462944
Log:
Fix for CONNECTORS-669.
Modified:
manifoldcf/trunk/CHANGES.txt
manifoldcf/trunk/framework/crawler-ui/src/main/webapp/editauthority.jsp
manifoldcf/trunk/framework/crawler-ui/src/main/webapp/editconnection.jsp
manifoldcf/trunk/site/src/documentation/content/xdocs/en_US/end-user-documentation.xml
Modified: manifoldcf/trunk/CHANGES.txt
URL:
http://svn.apache.org/viewvc/manifoldcf/trunk/CHANGES.txt?rev=1462944&r1=1462943&r2=1462944&view=diff
==============================================================================
--- manifoldcf/trunk/CHANGES.txt (original)
+++ manifoldcf/trunk/CHANGES.txt Sun Mar 31 13:21:36 2013
@@ -3,6 +3,10 @@ $Id$
======================= 1.2-dev =====================
+CONNECTORS-669: UI did not allow empty connection name to be
+changed, for either authority or repository connections.
+(Karl Wright)
+
CONNECTORS-670: Update end-user documentation for RSS connector.
(Karl Wright)
Modified:
manifoldcf/trunk/framework/crawler-ui/src/main/webapp/editauthority.jsp
URL:
http://svn.apache.org/viewvc/manifoldcf/trunk/framework/crawler-ui/src/main/webapp/editauthority.jsp?rev=1462944&r1=1462943&r2=1462944&view=diff
==============================================================================
--- manifoldcf/trunk/framework/crawler-ui/src/main/webapp/editauthority.jsp
(original)
+++ manifoldcf/trunk/framework/crawler-ui/src/main/webapp/editauthority.jsp Sun
Mar 31 13:21:36 2013
@@ -297,7 +297,7 @@
<td
class="description"><nobr><%=Messages.getBodyString(pageContext.getRequest().getLocale(),"editauthority.NameColon")%></nobr></td><td
class="value" colspan="4">
<%
// If the connection doesn't exist yet, we are allowed to change
the name.
- if (connection == null)
+ if (isNew)
{
%>
<input type="text" size="32"
name="connname"
value='<%=org.apache.manifoldcf.ui.util.Encoder.attributeEscape(connectionName)%>'/>
Modified:
manifoldcf/trunk/framework/crawler-ui/src/main/webapp/editconnection.jsp
URL:
http://svn.apache.org/viewvc/manifoldcf/trunk/framework/crawler-ui/src/main/webapp/editconnection.jsp?rev=1462944&r1=1462943&r2=1462944&view=diff
==============================================================================
--- manifoldcf/trunk/framework/crawler-ui/src/main/webapp/editconnection.jsp
(original)
+++ manifoldcf/trunk/framework/crawler-ui/src/main/webapp/editconnection.jsp
Sun Mar 31 13:21:36 2013
@@ -336,7 +336,7 @@
<td
class="description"><nobr><%=Messages.getBodyString(pageContext.getRequest().getLocale(),"editconnection.NameColon")%></nobr></td><td
class="value" colspan="4">
<%
// If the connection doesn't exist yet, we are allowed to change
the name.
- if (connection == null)
+ if (isNew)
{
%>
<input type="text" size="32"
name="connname"
value='<%=org.apache.manifoldcf.ui.util.Encoder.attributeEscape(connectionName)%>'/>
Modified:
manifoldcf/trunk/site/src/documentation/content/xdocs/en_US/end-user-documentation.xml
URL:
http://svn.apache.org/viewvc/manifoldcf/trunk/site/src/documentation/content/xdocs/en_US/end-user-documentation.xml?rev=1462944&r1=1462943&r2=1462944&view=diff
==============================================================================
---
manifoldcf/trunk/site/src/documentation/content/xdocs/en_US/end-user-documentation.xml
(original)
+++
manifoldcf/trunk/site/src/documentation/content/xdocs/en_US/end-user-documentation.xml
Sun Mar 31 13:21:36 2013
@@ -18,10 +18,10 @@
-->
<document>
-<header><title>ManifoldCF- End-user Documentation</title></header>
-<properties>
-</properties>
-<body>
+ <header><title>ManifoldCF- End-user Documentation</title></header>
+ <properties>
+ </properties>
+ <body>
<section id="overview">
<title>Overview</title>