comanage-dev - [comanage-dev] r556 - registry/trunk/app/Controller/Component
Subject: COmanage Developers List
List archive
- From:
- To:
- Subject: [comanage-dev] r556 - registry/trunk/app/Controller/Component
- Date: Mon, 8 Jul 2013 18:06:09 -0400
- Authentication-results: sfpop-ironport01.merit.edu; dkim=neutral (message not signed) header.i=none
Author: benno
Date: 2013-07-08 18:06:09 -0400 (Mon, 08 Jul 2013)
New Revision: 556
Modified:
registry/trunk/app/Controller/Component/RoleComponent.php
Log:
Fix authz error on confirming invitation (CO-637)
Modified: registry/trunk/app/Controller/Component/RoleComponent.php
===================================================================
--- registry/trunk/app/Controller/Component/RoleComponent.php 2013-07-08
21:17:38 UTC (rev 555)
+++ registry/trunk/app/Controller/Component/RoleComponent.php 2013-07-08
22:06:09 UTC (rev 556)
@@ -521,8 +521,9 @@
$coPersonIds = $CoPerson->idsForIdentifier($identifier, null, true);
}
catch(Exception $e) {
- // At the moment, an exception will just result in us returning false
- throw new InvalidArgumentException($e->getMessage());
+ // We probably have a newly enrolled person who has an identifier but
not a full
+ // record yet. (ie: petition confirmation.) Just return false.
+ return false;
}
// We now have a list of CO Person IDs, and need to figure out which one
correlates to the
- [comanage-dev] r556 - registry/trunk/app/Controller/Component, svnlog, 07/08/2013
Archive powered by MHonArc 2.6.16.