Uploaded image for project: 'Islandora'
  1. Islandora
  2. ISLANDORA-1518

Usage stats blows up search results if term is too long.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.x-1.6
    • Component/s: Solr Search, Usage Stats
    • Labels:
      None

      Description

      Usage stats doesn't handle large terms or advanced searches very well. I believe it's interpreting the advanced search query as a single term.

      PDOException: SQLSTATE[22001]: String data, right truncated: 1406 Data too long for column 'term' at row 1: INSERT INTO

      {islandora_usage_stats_top_searches}

      (term, search_total) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1); Array ( [:db_insert_placeholder_0] => rels_ext_ismemberofcollection_uri_ms"info:fed

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              nhart Nelson Hart
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: