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

jQuery UI datepicker parseDate can't parse saved search dates

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 4.6.9
    • Fix Version/s: Unscheduled
    • Component/s: None
    • Labels:
      None
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code

      Description

      jQuery UI throws an 'Uncaught Exception: Unexpected literal at position 2' when editing smart criteria that includes a date that uses a preset. My test case is activities for This Year. See screen shot from the demo site. It's causing the jQuery UI libraries to crash (and in my non-demo site case it seems to be causing the saved criteria not to be interpreted correctly. It looks correctly saved in the database). Removing the date or entering the same date with the Choose Range option fixes the problem. I haven't debugged further than this. I could probably put some time in later this week unless anyone knows what might be causing this.

        Attachments

          Activity

            People

            • Assignee:
              jlacey Joseph Lacey
              Reporter:
              jlacey Joseph Lacey
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: