[Zope-Checkins] SVN: Zope/branches/2.9/ reverted r65903:
Yvo Schubbe
y.2006_ at wcm-solutions.de
Wed Mar 15 03:17:11 EST 2006
Log message for revision 66023:
reverted r65903:
- I still believe this was the Right Thing to do, but not everybody agrees
Changed:
U Zope/branches/2.9/doc/CHANGES.txt
U Zope/branches/2.9/lib/python/OFS/ObjectManager.py
U Zope/branches/2.9/lib/python/OFS/tests/testObjectManager.py
-=-
Modified: Zope/branches/2.9/doc/CHANGES.txt
===================================================================
--- Zope/branches/2.9/doc/CHANGES.txt 2006-03-15 08:16:56 UTC (rev 66022)
+++ Zope/branches/2.9/doc/CHANGES.txt 2006-03-15 08:17:11 UTC (rev 66023)
@@ -18,9 +18,6 @@
Bugs fixed
- - OFS ObjectManager: Fixed 'checkValidId'.
- Names starting with '@' are reserved for views and not allowed in IDs.
-
- Missing import of NotFound in webdav.Resource.
Zope 2.9.1 (2006/02/25)
Modified: Zope/branches/2.9/lib/python/OFS/ObjectManager.py
===================================================================
--- Zope/branches/2.9/lib/python/OFS/ObjectManager.py 2006-03-15 08:16:56 UTC (rev 66022)
+++ Zope/branches/2.9/lib/python/OFS/ObjectManager.py 2006-03-15 08:17:11 UTC (rev 66023)
@@ -82,9 +82,6 @@
'The id "%s" is invalid because it begins with "aq_".' % id)
if id.endswith('__'): raise BadRequest, (
'The id "%s" is invalid because it ends with two underscores.' % id)
- if id[0] == '@':
- raise BadRequest('The id "%s" is invalid because it begins with '
- '"@".' % id)
if not allow_dup:
obj = getattr(self, id, None)
if obj is not None:
Modified: Zope/branches/2.9/lib/python/OFS/tests/testObjectManager.py
===================================================================
--- Zope/branches/2.9/lib/python/OFS/tests/testObjectManager.py 2006-03-15 08:16:56 UTC (rev 66022)
+++ Zope/branches/2.9/lib/python/OFS/tests/testObjectManager.py 2006-03-15 08:17:11 UTC (rev 66023)
@@ -378,7 +378,6 @@
self.assertRaises(BadRequest, om._setObject, '111', si)
self.assertRaises(BadRequest, om._setObject, 'REQUEST', si)
self.assertRaises(BadRequest, om._setObject, '/', si)
- self.assertRaises(BadRequest, om._setObject, '@@view', si)
def test_list_imports(self):
om = self._makeOne()
@@ -390,7 +389,6 @@
self.failUnless(filename.endswith('.zexp') or
filename.endswith('.xml'))
-
def test_suite():
suite = unittest.TestSuite()
suite.addTest( unittest.makeSuite( ObjectManagerTests ) )
More information about the Zope-Checkins
mailing list