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

Copying price set creates incorrect price field dependency

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 3.3.6
    • Fix Version/s: None
    • Component/s: CiviEvent
    • Labels:
      None

      Description

      When creating a copy of a complex price set containing 5 price fields, the copy has an unwanted interdependency between two of the price fields that is not present in the original. Choosing an option from field A hides all options from field B and vice versa. Fields C through E are unaffected. At this stage I have not linked the price set to an event - I am simply looking in the preview of the Price Set.

      I have looked through all entries in the price_sets, price_set_fields, and price_set_field_values tables, and can see no difference between the two price sets, other than the key fields.

      Deleting the clone and repeating the copy action results in the same behaviour. I am now looking at creating the clone from scratch instead, but would love it if there was an explanation or (if it's a bug) a fix available.

      Incidentally, dependent fields in price sets would be a great feature - does it exist?

        Attachments

        1. action-shot.png
          44 kB
          Al McNicoll
        2. after.png
          45 kB
          Al McNicoll
        3. before.png
          44 kB
          Al McNicoll

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              almcnicoll Al McNicoll
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: