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

Internal Server Error caused by advanced search for date added

    Details

    • Type: Bug
    • Status: Won't Do
    • Priority: Minor
    • Resolution: Won't Do
    • Affects Version/s: 4.3.3
    • Fix Version/s: Unscheduled
    • Component/s: None
    • Labels:
      None
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)

      Description

      If you search for date added and the result is big (more than 10000 rows) the query ends in a internal server error (timeout in mysql).
      I think the subquery in CRM_Contact_BAO_Query::dateQueryBuilder is responsible.
      $addedDateQuery = 'select id from civicrm_log group by entity_id order by id';

      Tested in WP Plugin (WP 3.5.2).

      Please note related issue CRM-6903.

        Attachments

          Activity

            People

            • Assignee:
              colemanw Coleman Watts
              Reporter:
              datenwerk datenwerk
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: