CRM-17141 Custom fields associated with Event Type broken in profile (again?)

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 4.6.8
    • Fix Version/s: None
    • Component/s: CiviEvent
    • Documentation Required?:
      None
    • Funding Source:
      Needs Funding

      Description

      I have discovered a problem, very similar if not exactly, like the one described here: https://issues.civicrm.org/jira/browse/CRM-15427

      Profiles that include Custom fields that are associated with an Event Type are no longer showing up in the drop-down box for Events of that same type. In fact, no profiles are showing up in the drop-downs for selecting profiles on any event registration page, even profiles that include fields for any event. Profiles with EventType-specific fields are available to front-end users when registering online, but are not available to back-end users when registering or viewing a participant. (However, profiles with any Event fields are showing up to back-end users when registering or viewing a participant. )

      When viewing the configuration for online registration, I get this warning: "The selected profile is using a custom field which is not assigned to the "Event" being configured." This is the case regardless of whether the assigned profile uses EventType-specific or just any custom fields.

      I'm not sure when this changed, but it was recently, possibly after I updated from civi 4.6.7 to 4.6.8 just yesterday. (Over the last two weeks we have moved to a new server, updated from Joomla 2.5 to 3.4, and updated civi from 4.6.3 to 4.6.8, so there are a lot of variables.) I tested this on the version still on our old server - civi 4.6.3 - and it is not an issue for that release.

        Attachments

          Activity

          [CRM-17141] Custom fields associated with Event Type broken in profile (again?)
          David Greenberg added a comment -

          Phil Morice Brubaker A new permission - CiviEvent: manage event profiles - was added in 4.6.6 which filters profiles available when configuring an event for non-admin users.

          https://issues.civicrm.org/jira/browse/CRM-16915

          Can you check user permissions on your site and see if that's why you're not seeing profiles you expect to see?

          If that's not the issue - please recreate on the public demo and provide screenshots / steps.

          Phil Morice Brubaker added a comment -

          Permissions were allowing superusers to "manage event profiles" (I am a superuser). Administrators did not have the permission. I allowed administrators to manage event profiles. No change.

          I was unable to recreate the issue on the public demo. Unfortunately, I can't take more time today to sort through it, but I'll have to come back to it at some point. If it's not a bug, I can move this to stackexchange for assistance, but it seems that even if the code is working correctly I should be getting a more helpful error message.

          David Greenberg added a comment -

          Phil Morice Brubaker I'm not seeing this issue on my local 4.6.8 site.

          Screenshot shows a profile with a single custom field which is in a custom data set "used for" Participants (Event Type) = Conference.

          David Greenberg added a comment -

          If you can provide steps / screenshots for reproducing on public demo, we can reopen this. Otherwise, best to discuss on StackExchange.

          shawn holt added a comment -

          i have this same error: http://civicrm.stackexchange.com/questions/10443/event-participant-profile-warningthe-selected-profile-is-using-a-custom-field-w

          Please re-open if possible as there seems to be a lot of related issue on this.

            People

            • Assignee:
              Unassigned
              Reporter:
              Phil Morice Brubaker

              Dates

              • Created:
                Updated:
                Resolved: