Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 3.2.4, 3.3.alpha
-
Fix Version/s: 3.3.beta
-
Component/s: Core CiviCRM
-
Labels:None
Description
Create a profile, and set it inactive (gid 42)
When listing the profiles field, all good, when clicking on the 'Edit' action link
civicrm/admin/uf/group/field/update?reset=1&action=update&id=98&gid=42
Sorry. A non-recoverable error has occurred.
The requested Profile (gid=42) is disabled OR it is not configured to be used for 'Profile' listings in its Settings OR there is no Profile with that ID OR you do not have permission to access this profile. Please contact the site administrator if you need assistance.
debug (might be wrong):
CRM/Core/BAO/UFGroup.php getFields
ufGroupClause in CRM/Core/Permission.php calls the Pseudo constant that only fetches the active profiles