Skip to content
Snippets Groups Projects
  1. Aug 02, 2024
  2. Aug 01, 2024
  3. Jul 31, 2024
  4. Jul 30, 2024
    • Garvin Hicking's avatar
      [BUGFIX] Use proper query for specific belog "Delete similar errors" · 6a90d69d
      Garvin Hicking authored
      In case a `sys_log` entry is deleted via the `belog` backend module,
      an error was thrown. This only happened for log entries with
      `details_nr` 11 or 12 (PHP errors) AND where placeholder values in
      the column `details` were used.
      
      Then the backend log module would try to delete all rows only
      with the exactly matching, substituted log details, so that not
      too many records would be deleted (with different placeholders).
      
      The code for this tried to unserialize the log data, which led
      to the created delete-query utilizing an array as named parameter
      placeholder value, which then threw an error.
      
      The solution is to use the actual raw data for the query comparison,
      which is what this patch does. Then the exact contents of the
      fields `details` and `log_data` will be used to delete all
      matching rows.
      
      Resolves: #104494
      Releases: main, 12.4
      
      Change-Id: I393b918919340eb279c62136feec2f27eeac708f
      Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/85414
      
      
      Tested-by: default avatarcore-ci <typo3@b13.com>
      Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
      Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
      6a90d69d
  5. Jul 29, 2024
  6. Jul 26, 2024
  7. Jul 25, 2024
  8. Jul 24, 2024
  9. Jul 23, 2024
  10. Jul 19, 2024
  11. Jul 18, 2024
  12. Jul 15, 2024
  13. Jul 13, 2024
  14. Jul 12, 2024