[Checkins]
SVN: zope3org/trunk/src/zorg/wikification/browser/wikilink.py
Added a missing created event.
Uwe Oestermeier
uwe_oestermeier at iwm-kmrc.de
Mon Oct 23 03:29:51 EDT 2006
Log message for revision 70886:
Added a missing created event.
Changed:
U zope3org/trunk/src/zorg/wikification/browser/wikilink.py
-=-
Modified: zope3org/trunk/src/zorg/wikification/browser/wikilink.py
===================================================================
--- zope3org/trunk/src/zorg/wikification/browser/wikilink.py 2006-10-22 18:57:14 UTC (rev 70885)
+++ zope3org/trunk/src/zorg/wikification/browser/wikilink.py 2006-10-23 07:29:49 UTC (rev 70886)
@@ -848,7 +848,10 @@
contenttype = "text/html"
folder = Folder()
new_name = self._addObject(name, folder)
- folder[u'index.html'] = File('New Index Page', contenttype)
+
+ file = File('New Index Page', contenttype)
+ zope.event.notify(ObjectCreatedEvent(file))
+ folder[u'index.html'] = file
file = folder[u'index.html']
IZopeDublinCore(file).title = IZopeDublinCore(folder).title
return new_name
More information about the Checkins
mailing list