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

Contribution edit form broken with localised contribution statuses

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.6, 4.7
    • Fix Version/s: 4.7
    • Component/s: CiviContribute
    • Labels:
    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code

      Description

      If you are running a localised installation of CiviCRM, and you change (i.e. translate) the labels (not the names) of the contribution status 'Cancelled' and 'Refunded', the contribution edit form doesn't let you set the cancellation date and reason any more.

      The reason is, that the JS code to hide these fields in other statuses tests the labels(!!) for 'Cancelled' or 'Refunded' where it should be testing name or id.

      I will provide a PR soon.

        Attachments

          Activity

            People

            • Assignee:
              b.systopia Björn Endres
              Reporter:
              b.systopia Björn Endres
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: