Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 5.1.0beta1
    • Component/s: Caching
    • Labels:
      None
    • Environment:

      Operating System: Debian6
      PHP Version: 5.3.3
      Database and version: PostgreSQL (8.4.13)
      Browser (and version): Firefox 16.0.1

      Description

      Hi,

      Using build #431 of ezpublish5-ee-bul-tarballs, raises a twig exception when creating an object.

       Argument '$id' is invalid: expected value to be of type 'int|null', got 'array'
      500 Internal Server Error - InvalidArgumentType 
      

      The stack trace

      in /var/www/ezp50/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishLegacyBundle/Cache/PersistenceCachePurger.php at line 101 
       
       101           throw new InvalidArgumentType( "\$id", "int|null", $id );
      

        Activity

        Hide
        Paulo Nunes (Inactive) added a comment -

        The twig exception no long occur with the provided fix.
        QA Approved

        Show
        Paulo Nunes (Inactive) added a comment - The twig exception no long occur with the provided fix. QA Approved
        Show
        Jérôme Vieilledent (Inactive) added a comment - Fixed in master : https://github.com/ezsystems/ezpublish-kernel/commit/89ce1f102ea8492810b3454fae8c1d084611d423

          People

          • Assignee:
            Unassigned
            Reporter:
            Paulo Nunes (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            2 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 - 6 hours
              6h