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

Batch Update Contributions via Profile cannot "copy down" values when a date field is present

    Details

    • Type: Patch
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: 4.2.1
    • Fix Version/s: 4.2.1
    • Component/s: CiviContribute
    • Labels:

      Description

      There may be other circumstances which are necessary to reproduce the issue.

      The date field's "value" attribute is set using a format other than what the datepicker.parseDate function is expecting, which throws an uncaught exception "Unexpected literal at position 2".

      Attached patch will just use the builtin Date library to parse the field value.

        Attachments

        1. datepicker.patch
          0.8 kB
          Adam Wight
        2. datepicker-v2.patch
          0.8 kB
          Adam Wight

          Activity

            People

            • Assignee:
              kurund Kurund Jalmi
              Reporter:
              adamw Adam Wight
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: