Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-7018

Can't edit a field from an inactive profile

    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

        Attachments

          Activity

            People

            • Assignee:
              kurund Kurund Jalmi
              Reporter:
              xavier xavier dutoit
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 30 minutes
                30m
                Remaining:
                Remaining Estimate - 30 minutes
                30m
                Logged:
                Time Spent - Not Specified
                Not Specified