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

Creating an object raises a twig exception

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 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 );
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              paulo.nunes-obsolete@ez.no 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