You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by jo...@apache.org on 2013/12/06 18:11:53 UTC

git commit: [#6956] Fixed silent nbhd error on import for neighborhoods with spaces in the name

Updated Branches:
  refs/heads/cj/6956 [created] 406222753


[#6956] Fixed silent nbhd error on import for neighborhoods with spaces in the name

Signed-off-by: Cory Johns <cj...@slashdotmedia.com>


Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/40622275
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/40622275
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/40622275

Branch: refs/heads/cj/6956
Commit: 4062227538627df3293ed168ab5f5108144a78cd
Parents: 6426ead
Author: Cory Johns <cj...@slashdotmedia.com>
Authored: Fri Dec 6 17:11:42 2013 +0000
Committer: Cory Johns <cj...@slashdotmedia.com>
Committed: Fri Dec 6 17:11:42 2013 +0000

----------------------------------------------------------------------
 ForgeImporters/forgeimporters/base.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/40622275/ForgeImporters/forgeimporters/base.py
----------------------------------------------------------------------
diff --git a/ForgeImporters/forgeimporters/base.py b/ForgeImporters/forgeimporters/base.py
index 412ff3d..066719b 100644
--- a/ForgeImporters/forgeimporters/base.py
+++ b/ForgeImporters/forgeimporters/base.py
@@ -64,7 +64,7 @@ class ProjectImportForm(schema.Schema):
         self.add_field('project_shortname', provider.shortname_validator)
         self.allow_extra_fields = True
 
-    neighborhood = fev.PlainText(not_empty=True)
+    neighborhood = fev.NotEmpty()
     project_name = fev.UnicodeString(not_empty=True, max=40)