Difference between revisions of "Issue:Addlasteditor crashes new article"

From FollowTheScore
Jump to: navigation, search
(New page: {{Issue |Type = Bug |Extension = DPL |Version = 1.8.9 |Description = addlasteditor crashes when saving a new article |Status = open }} == Problem == Edit a new arti...)
 
Line 10: Line 10:
 
Edit a new article and add a DPL query that contains [[addlasteditor]]. Save. The page will crash on save, probably because there is no last editor yet.  error_log says:
 
Edit a new article and add a DPL query that contains [[addlasteditor]]. Save. The page will crash on save, probably because there is no last editor yet.  error_log says:
  
 
+
:[Mon Mar 15 16:12:26 2010] [error] [client nn.nn.nn.nn] PHP Fatal error:  Maximum execution time of 30 seconds exceeded in /var/www/html/w/extensions/Cite/Cite_body.php on line 658, referer: <nowiki>http://</nowiki>mysite/w/index.php?title=Template:Lasteditor&action=edit&redlink=1
[Mon Mar 15 16:12:26 2010] [error] [client nn.nn.nn.nn] PHP Fatal error:  Maximum execution time of 30 seconds exceeded in /var/www/html/w/extensions/Cite/Cite_body.php on line 658, referer: <nowiki>http://</nowiki>mysite/w/index.php?title=Template:Lasteditor&action=edit&redlink=1
 
  
 
Test case:
 
Test case:

Revision as of 21:15, 15 March 2010

Description: addlasteditor crashes when saving a new article
Extension / Version: DPL   /   1.8.9
Type / Status: Bug   /   open

Problem

Edit a new article and add a DPL query that contains addlasteditor. Save. The page will crash on save, probably because there is no last editor yet. error_log says:

[Mon Mar 15 16:12:26 2010] [error] [client nn.nn.nn.nn] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/html/w/extensions/Cite/Cite_body.php on line 658, referer: http://mysite/w/index.php?title=Template:Lasteditor&action=edit&redlink=1

Test case:

{{#dpl:
|namespace={{NAMESPACE}}
|titlematch={{PAGENAME}}
|skipthispage=no
|addlasteditor=true
|mode=inline
}}

Reply