Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-20957

Misplaced semicolon causes flow to break

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • 5.2-alpha1
    • 4.7.0, 5.0, 5.1
    • Legacy > Clustering
    • None

    Description

      In kernel/private/classes/clusterfilehandlers/dfsbackends/mysqli.php, in the method _checkCacheGenerationTimeout(), a misplaced semicolon causes the method to return true in every case.

      if ( isset( $row[0] ) and $row[0] == $generatingFileMtime );
      {
          return true;
      }
      

      A proposed fix can be found at https://github.com/ezsystems/ezpublish-legacy/pull/651

      Attachments

        Activity

          People

            Unassigned Unassigned
            jgamez jgamez
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 hours, 51 minutes
                4h 51m