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

Fix CRM-16789 causes free (no fee) events a DB Error on Confirmation/Thank You

    Details

    • Type: Bug
    • Status: Open
    • Priority: Important
    • Resolution: Unresolved
    • Affects Version/s: 4.6.1, 4.6.2, 4.6.3, 4.6.4, 4.6.0
    • Fix Version/s: None
    • Component/s: CiviEvent
    • Labels:
      None
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Needs Funding
    • Verified?:
      No
    • Overview:
      Free event registrations generating error (DB: Syntax Error) on Thank You page.
    • How it works currently:
      Free event registrations generating error (DB: Syntax Error) on Thank You page.
    • How it should work:
      Should confirm successful registration on free event.
    • Acceptance Criteria:
      Confirm successful registration on free event.

      Description

      There was an issue that affected versions 4.6, 4.6.1, 4.6.2, 4.6.3, 4.6.4 where invoices were not attached if tax amount is 0 or evaluates to False. The fix was posted here:

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

      It worked for untaxed event registrations, but it introduced a new issue on Free events where a DB: Syntax Error occurs on the Thank You confirmation screen. The event registration does work fine, but I believe it is related to attempting to generate an invoice (which isn't necessary for a free event).

      Apologies if this is not the correct way to report an issue - this is my first time. I tried searching for a patch related to this, but I don't see one.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              alexkatayama Alex Katayama
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: