changeset 522:3ea8fd50dd53

use correct pagename for PackagePages logging imported from: moin--main--1.5--patch-526
author Thomas Waldmann <tw@waldmann-edv.de>
date Wed, 05 Apr 2006 18:53:19 +0000
parents d3a173c26e1c
children 09d0c5805c77
files ChangeLog MoinMoin/action/PackagePages.py docs/CHANGES
diffstat 3 files changed, 17 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Wed Apr 05 18:46:11 2006 +0000
+++ b/ChangeLog	Wed Apr 05 18:53:19 2006 +0000
@@ -2,6 +2,20 @@
 # arch-tag: automatic-ChangeLog--arch@arch.thinkmo.de--2003-archives/moin--main--1.5
 #
 
+2006-04-05 19:53:19 GMT	Thomas Waldmann <tw@waldmann-edv.de>	patch-526
+
+    Summary:
+      use correct pagename for PackagePages logging
+    Revision:
+      moin--main--1.5--patch-526
+
+    use correct pagename for PackagePages logging
+    
+
+    modified files:
+     ChangeLog MoinMoin/action/PackagePages.py docs/CHANGES
+
+
 2006-04-05 19:46:11 GMT	Thomas Waldmann <tw@waldmann-edv.de>	patch-525
 
     Summary:
--- a/MoinMoin/action/PackagePages.py	Wed Apr 05 18:46:11 2006 +0000
+++ b/MoinMoin/action/PackagePages.py	Wed Apr 05 18:53:19 2006 +0000
@@ -114,7 +114,7 @@
 
         os.chmod(fpath, 0666 & config.umask)
 
-        _addLogEntry(self.request, 'ATTNEW', pagename, target)
+        _addLogEntry(self.request, 'ATTNEW', self.pagename, target)
         
         raise ActionError(_("Created the package %s containing the pages %s.") % (wikiutil.escape(target), wikiutil.escape(pagelist)))
 
--- a/docs/CHANGES	Wed Apr 05 18:46:11 2006 +0000
+++ b/docs/CHANGES	Wed Apr 05 18:53:19 2006 +0000
@@ -46,7 +46,8 @@
       mode to your users completely)
     * Fixed XSS issue which could lead to cookie theft etc.
     * Fixed definition list "same level" indenting.
-  
+    * Fixed pagename in log for PackagePages action.
+
   Other changes:
     * moved back UserPreferences action link from menu to top of page (renaming
       it to "Preferences"), added "Cancel" button to make it possible to return