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

DebugByUser is not working correctly in preview

    XMLWordPrintable

Details

    Description

      Steps to reproduce:

      1. Enable DebugByUser by user in site.ini (e.g. settings/override/site.ini.append.php):

      [DebugSettings]
      DebugOutput=enabled
      DebugRedirection=disabled
      AlwaysLog[]
      AlwaysLog[]=error
      ScriptDebugOutput=enabled
      DebugByUser=enabled
      DebugUserIDList[]=14
      

      2. Login as another user (e.g. editor) to the admin siteaccess - any user will do as long as it's one that has not an object ID of 14;
      3. Edit for example the media folder => version 2;
      4. Press preview button in the left menu - you will see the preview with debug output, which is not supposed to happen.

      Note: I used an user with object ID of 14, which in my installation happens to be my main admin user. Please adapt this to your own test environment.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              nuno.oliveira-obsolete@ez.no Nuno Oliveira (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 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 - 1 day, 3 hours
                  1d 3h