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

Field is_for_organisation in module_data set as 0 should be inactive in uf_join table

    Details

    • Type: Bug
    • Status: In Quality Assurance
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 4.7.21
    • Fix Version/s: 4.7.23
    • Component/s: None
    • Labels:
      None
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Needs Funding
    • Verified?:
      No

      Description

      https://github.com/civicrm/civicrm-core/pull/6672/files#diff-9f26e5128facbeee21f13196222a7e1cR171 migrates the onbehalf to uf_join but doesn't disables the ufjoin row for which is_for_organization is set as 0.

      To replicate -

      1. Enable is_for_organization on a contribution page in 4.6 version.
      2. Set it to required -> Save.
      3. Disable is_for_organization setting -> Save.
      4. upgrade to 4.7.21  The above commit migrates the data to uf_join table. But when this contribution page is visited. The is_for_organization checkbox is still active which breaks the live page contribution/membership.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jitendra.purohit Jitendra Purohit
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: