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

Copying contribution page where database table "civicrm_membership_block" field "is_separate_payment" is NULL results in value of "1"?

    Details

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

      Description

      I am not positive, but I am pretty sure this is what is happening:

      1. I have a contribution page (I am not sure how these are linked to a "civicrm_membership_block" table) and it is associated with a membership block. The membership block has a value of "NULL" in the database for the field "is_separate_payment."

      2. I copy this contribution page, the membership block entry also gets copied, but most of the NULL values are replaced by either a "1" or "0". In the case of "is_separate_payment" the value is changed to a "1".

      I cannot recreate this on the demo site because either 1. The "civicrm_membership_block" is not being created or copied, or 2. This bug has already been fixed on the 2.2.1 or 2.2.2 demo site. I also could not reproduce it on the 3.0 site.

      I also tried to reproduce it by creating a brand new contribution page, then copying it. That did not work, but I also noticed that a new "civicrm_membership_block" entry did not get created in association with my new contribution page so that would probably also explain why it didn't work on the test sites.

      Perhaps someone could test this by finding a membership page associated with a membership block and then set the membership block entry to NULL, copy it and see what happens?

      Here is a description of the error behavior:
      http://forum.civicrm.org/index.php?topic=620.new;topicseen#new

      Here is a link to an old, but similar (if not exact) issue defect:
      http://issues.civicrm.org/jira/browse/CRM-2092

        Attachments

          Activity

            People

            • Assignee:
              sunil Sunil Pawar
              Reporter:
              prickeke Keith A. Prickett
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: