Skip to content
Snippets Groups Projects
  1. May 14, 2020
  2. May 13, 2020
  3. May 08, 2020
    • JonGold's avatar
      fix regression on new MIME type library · 756a8f6b
      JonGold authored
      Unverified
      756a8f6b
    • Seamus Lee's avatar
      Merge pull request #17262 from totten/5.26-test-sql-op · fd525a93
      Seamus Lee authored
      SyntaxConformanceTest::testSqlOperators - Fix failure on MySQL 8
      Unverified
      fd525a93
    • totten's avatar
      SyntaxConformanceTest::testSqlOperators - Fix failure on MySQL 8 · 5d60cab9
      totten authored
      Before
      ------
      
      `SyntaxConformanceTest::testSqlOperators` frequently fails on the `Dedupe` entity when running on MySQL 8 (`bknix-edge`).
      
      After
      ------
      
      `SyntaxConformanceTest::testSqlOperators` repeatedly passes for all entities on my copy of MySQL 8 (`bknix-edge`).
      
      Technical Details
      -----------------
      
      The `testSqlOperators` creates a small pool of example records
      (`$entities`), then it slices/dices that pool with a few SQL operators and
      asserts the number of matches.
      
      In particular:
      
      ```php
      $this->callAPISuccessGetCount($entityName, ['id' => ['>' => $entities[0]]], $totalEntities - 1);
      ```
      
      The problem is that `$entities[0]` does not necessarily have the lowest ID
      -- because `$entities` was not fetched in any particular order.  The default
      ordering is *often* the same as the `id`, but not always.
      
      I suspect that this problem manifests most frequently with the `Dedupe`
      entity because the underlying table (`civicrm_prevnext_cache`) is highly
      volatile (many writes+deletes) -- thus it's more likely to reuse old storage
      slots for new rows.
      5d60cab9
    • gitsync's avatar
      Set version to 5.26.beta1 · 17a6ba93
      gitsync authored
      17a6ba93
    • totten's avatar
      Merge pull request #17227 from eileenmcnaughton/workflow_name · 8b5f3b3e
      totten authored
      Add workflow_name column to civicrm_msg_template, deprecate workflow_id
      Unverified
      8b5f3b3e
  4. May 07, 2020
  5. May 06, 2020
Loading