Comment 3 for bug 564491

Revision history for this message
Julian Edwards (julian-edwards) wrote :

Just had a call with Deryck and he suggested that we make the bug closing asynchronous via a Job. This is good because:

1) it would fix this immediate problem as the job runner is zopeless and thus is not restricted by the security
2) the page will time out sometimes because it has a lot of email notifications to send if it closes many bugs at once. Doing these asynchronously would make the page much faster.

Based on the fact that the same code that is blowing up here is also called in zopeless mode when the package gets auto-accepted I'd ok with using removeSecurityProxy() on that specific call on the strict understanding that it's temporary until we get a Job set up.