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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 3.2.1
    • 3.2.2-RC1
    • Caching (ACM)
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: