## page was renamed from MoinMoinBugs/xmrpc_put_attachment_ToVerbose = Description = xmlrpc put Attachment tells the whole path in the log entry where the file is stored instead of the filename only == Steps to reproduce == ## Describe the steps needed to reproduce the bug. If we can't reproduce it, we probably can't fix it. 1. do this... == Example == ##Add URL that show the bug, screenshot or test wiki markup that fail... ##URL: ##{{attachment:screenshot.png}} ##{{{ ##Example wiki markup that fail ##}}} == Component selection == ## Where you think is this bug happening ? (general, plugin [plugin name], theme [theme name], ... * general == Details == ## If you got a traceback, please save the traceback page as html and attach here: ## [[attachment:traceback.html]] ## if the bug is in this wiki, just kill the table and write: This Wiki. ## If a traceback is not available, please fill in the details here: || '''!MoinMoin Version''' || 1.8 || || '''OS and Version''' || || || '''Python Version''' || || || '''Server Setup''' || || || '''Server Details''' || || || '''Language you are using the wiki in''' (set in the browser/UserPreferences) || || == Workaround == ## How to deal with the bug until it is fixed = Discussion = {{{#!highlight diff diff -r ac4d5b11edd2 MoinMoin/xmlrpc/__init__.py --- a/MoinMoin/xmlrpc/__init__.py Thu Dec 03 15:29:45 2009 +0100 +++ b/MoinMoin/xmlrpc/__init__.py Fri Dec 04 16:43:30 2009 +0100 @@ -991,7 +991,7 @@ if os.path.exists(filename) and not os.path.isfile(filename): return self.noSuchPageFault() open(filename, 'wb+').write(data.data) - AttachFile._addLogEntry(self.request, 'ATTNEW', pagename, filename) + AttachFile._addLogEntry(self.request, 'ATTNEW', pagename, attachname) return xmlrpclib.Boolean(1) # XXX END WARNING XXX }}} = Plan = ## This part is for Moin``Moin developers: * Priority: * Assigned to: * Status: fixed by [[http://hg.moinmo.in/moin/1.8/rev/d5d4665013b2|1.8 d5d4665013b2]] ---- ## If you are a moin core developer, replace the category to Category* in these cases: ## Category MoinMoinNoBug - if this is not a bug. ## Category MoinMoinBugConfirmed - if you can confirm the bug on current code. ## Category MoinMoinBugFixed - after the bug is fixed in current code. CategoryMoinMoinBugFixed