Bug #20948 Approving New Project Member Requests Results in Blank Screen
Submitted: 10 Jul 2006 19:40 Modified: 26 Sep 2006 9:42
Reporter: Jay Pipes Email Updates:
Status: Closed Impact on me:
Category:MySQL Websites: MySQLForge Severity:S3 (Non-critical)
Version: OS:
Assigned to: Lenz Grimmer CPU Architecture:Any

[10 Jul 2006 19:40] Jay Pipes
When receiving an email to approve/deny project membership, email link takes logged in user to correct location, however, upon approving project member request, the screen goes blank.  Additionally, new member does not then show up in project member list on view.php

How to repeat:
Have someone request membership in a project for which you are an administrator.  When you receive the request email, click on the link to approve, then approve the request.

Suggested fix:
Perhaps a caching problem with the member not showing up on the project members list.  Also, fix form processing code on process-member-requests.php to go to MyForge dashboard screen after processing.
[10 Jul 2006 19:42] Jay Pipes
No need to verify.  I have already done so.  I would assign it to myself, but I no longer seem to have that ability...
[26 Sep 2006 9:42] Lenz Grimmer
This should now be fixed, it was indeed a caching problem (thanks to Jay for the hint):

--- work/lib/class/ProjectMember.php    (revision 102)
+++ work/lib/class/ProjectMember.php    (revision 103)
@@ -204,8 +204,8 @@
                     AND member = " . (int) $Member;
             if ($GLOBALS['Db']->Execute($sql)) {
-                $GLOBALS['Cache']->RemoveFromCache('project_members-' . $Project . 'forview');
-                $GLOBALS['Cache']->RemoveFromCache('project_members-' . $Project);
+                $GLOBALS['CEngine']->RemoveFromCache('project_members-' . $Project . 'forview');
+                $GLOBALS['CEngine']->RemoveFromCache('project_members-' . $Project);
                 return true;
             else {