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

eZAutoSave : preview shouldn't be available for some classes (setup)



      If I edit a template look object and change a field value, the first autosave when clicking outside (loosing focus) is successful, but if I edit another field and click outside again, the second autosave ends in an error, and then the site is unusable with 502 errors every time.

      I found out that the preview GET of the template look object is responsible for this.

      The saveDraftPreview method generates the code for the preview iframe without checking the object class, but we should exclude here class groups like setup (and maybe other, potentially with a class group exclusion list in ini).
      We should also check this list in first place to display or not the preview button.


        Frédéric Malandain created issue -
        André Rømcke made changes -
        Field Original Value New Value
        Workflow eZ Community Workflow [ 21498 ] eZ Engineering Scrumban Workflow [ 35551 ]
        Bertrand Dunogier made changes -
        Component/s Legacy extensions [ 10794 ]
        Component/s Extensions/eZ Autosave [ 10795 ]
        André Rømcke made changes -
        Workflow eZ Engineering Scrumban Workflow [ 35551 ] EZ* Development Workflow [ 68781 ]
        Alex Schuster made changes -
        Workflow EZ* Development Workflow [ 68781 ] EZEE Development Workflow [ 106936 ]


          • Assignee:
            Frédéric Malandain
          • Votes:
            0 Vote for this issue
            0 Start watching this issue


            • Created: