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

Small typo error in viewcache.ini example + fatal error if it is copied

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 4.4.0beta1
    • 4.1.3, 4.1.4, 4.2.0, 4.3.0, 4.3.0alpha1, 4.4.0alpha4, 4.4.0alpha5
    • Caching
    • None
    • Operating System:
      PHP Version: (please be specific, like '4.4.3' or '5.1.5') : 5.2.6
      Database and version:
      Browser (and version):

    Description

      In settings/viewcache.ini line 92 :

      #ClearCacheMethod=[]
      

      it's wrong, it should be :

      #ClearCacheMethod[]
      

      In addiition, if you put this wrong line in a viewcache rule, you'll get a fatal error just after publishing the object

      ( ! ) Fatal error: [] operator not supported for strings in /home/dapob/dev/pobel/trunk/www/lib/ezutils/classes/ezini.php on line 715
      
      Steps to reproduce

      1. Set a view cache rule like the following :

      [folder]
      DependentClassIdentifier[]=folder
      ClearCacheMethod=[]
      ClearCacheMethod[]=object
      ClearCacheMethod[]=parent
      ClearCacheMethod[]=relating
      

      2. Edit a folder and send for publishing

      Attachments

        Activity

          People

            bd bd
            dpobel dpobel
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: