Doctrine 1
  1. Doctrine 1
  2. DC-811

calculateQueryCacheHash causes a fatal error when used in combination with output buffering

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.2.2
    • Fix Version/s: None
    • Component/s: Query
    • Labels:
      None

      Description

      When using output buffering in combination with a doctrine caching driver. var_export causes a fatal error as described here:

      http://marc.info/?l=phpdoc&m=114122422804066
      http://php.net/manual/en/function.var-export.php

      Here is the proposed patch.

        Activity

        Hide
        Jonathan H. Wage added a comment -

        This seems to break the test suite in several places so it cannot be applied. If you can provide a patch that passes the test suite we can discuss applying the patch.

        Show
        Jonathan H. Wage added a comment - This seems to break the test suite in several places so it cannot be applied. If you can provide a patch that passes the test suite we can discuss applying the patch.

          People

          • Assignee:
            Guilherme Blanco
            Reporter:
            Carl Alexander
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: