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

Duplicate price field names should be checked within set, not across all sets

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 2.1.4
    • Fix Version/s: 2.2.0
    • Component/s: CiviEvent
    • Labels:
      None

      Description

      Trying to create a price field with the same name as one in another price set throws the error "Name Already Exists in Database."

      Duplicates should be permitted across price sets, even if not within price sets (e.g. different events may have price fields called "Sponsorship", with different sponsorship levels available for each event).

      Issue discussed and partial patch provided here:
      http://forum.civicrm.org/index.php/topic,6434.0.html

        Attachments

          Activity

            People

            • Assignee:
              sushant Sushant Paste
              Reporter:
              lentilsoup Lentilsoup
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: