Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-15320

Redis cache does not save keys with expiration date 0 (no expiration)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2.1
    • Fix Version/s: 3.2.2-RC1
    • Component/s: Caching (ACM)
    • Labels:
    • Environment:
      PHP 7.1, Redis 3.2.4

      Description

      In some functions like sql_save in cache/memory.php, code try to save a key/value in cache with ttl = 0 so key should never expire. In current redis.php cache driver, it fails so key never get cached. This cause for example that when you create a subforum, it not appear in the forum box in the admincp.

        Attachments

          Activity

            People

            Assignee:
            CHItA CHItA
            Reporter:
            moledj moledj [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: