Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-15320

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.2.2-RC1
    • 3.2.1
    • Caching (ACM)
    • PHP 7.1, Redis 3.2.4

      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.

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

              Created:
              Updated:
              Resolved: