[OSM-Photos] Deletion bug

John McKerrell john at mckerrell.net
Mon Oct 19 09:30:54 BST 2009


Hi

As you may have noticed in another thread a bug went in at the end of  
last month which meant that any image that was moderated by its owner  
got deleted. This was an unfortunate bug caused by a typo in some code  
that should have read "status == 'unsafe'" and instead read "status =  
'unsafe'".

Fortunately the fact that the owner had moderated it and marked it as  
'safe' gets stored separately so I've been able to go through all of  
the deleted photos since that code was submitted and check whether the  
owner moderated it as 'safe', and if so, push it back into  
moderation.  So there's now 3106 photos waiting to be moderated and  
4222 photos that are available, I'm glad to see we'll be getting a big  
boost after those photos get moderated.

Let me know if you spot any issues but hopefully should all be sorted  
now.

John




More information about the Photos mailing list