= Description = getPageInfoVersion does not return the author for revisions != 0. == Steps to reproduce == {{{ >>> xmlrpclib.ServerProxy("http://moinmoin.wikiwikiweb.de/?action=xmlrpc2").getPageInfoVersion("FrontPage", 1)['author'] '?' }}} == Details == This wiki. == Workaround == ## How to deal with the bug until it is fixed You can find the respective entry for the page in the recent changes where the author is given. See `MoinWiki.getPageInfo` in http://www.merten-home.de/FreeSoftware/moinupdate/moinupdate . -- StefanMerten <> You may also use the plugin `getRecentChangesWithAttributes` from the [[http://www.merten-home.de/FreeSoftware/remoteMoin/|remoteMoin]] collection of XML-RPC plugins. With this plugin you can get recent changes for selected pages containing all available information. -- StefanMerten <> = Discussion = This happens because the called methods of the Page class do not support the author attribute correctly. In order to fix this, several methods need to be refactored. A patch for 1.7 [[attachment:Page.py.patch]], not sure if it is a good way to search in revisions, please check it out -- YuJieLin <> Thanks for the patch! It looks fine, except for the case when it does not find the rev in the edit-log (should not, but can happen). Maybe add some else branch to the for loop. -- ThomasWaldmann <> New patch [[attachment:xmlrpcpageinfo.patch]] -- YuJieLin <> = Plan = ## This part is for Moin``Moin developers: * Priority: * Assigned to: * Status: Fixed by http://hg.moinmo.in/moin/1.7/rev/c9494979fe7a (this also fixes some other problem and changes behaviour a bit, so it won't get backported to 1.6). ---- ## When the bug is fixed, replace the category to Category MoinMoinBugFixed ## If this is not a bug, replace with Category MoinMoinNoBug CategoryMoinMoinBugFixed