From: W. Trevor King Date: Thu, 1 Jul 2010 03:18:06 +0000 (-0400) Subject: SiteCore doesn't allow for periods in page names X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=249d1e0453331bd9c92f66dc0cffc87de72622f5;p=sitecorepy.git SiteCore doesn't allow for periods in page names --- diff --git a/sitecore/prof/import.py b/sitecore/prof/import.py index 95e07ab..023a45d 100644 --- a/sitecore/prof/import.py +++ b/sitecore/prof/import.py @@ -73,7 +73,8 @@ class ProfessorAdder (object): self.s.expand_nav_section('facultyDirectory') def __call__(self, prof): - name = '%s %s' % (prof.name.first_middle, prof.name.last) + name = ('%s %s' % (prof.name.first_middle, prof.name.last)).replace( + '.', '') self.create_prof_page(name) self.lock_section(name) settings = [