Uploaded image for project: 'eZ Platform Enterprise Edition'
  1. eZ Platform Enterprise Edition
  2. EZEE-998

Landing page -> delete draft -> deletes the complete object

    XMLWordPrintable

    Details

      Description

      When editing a landing page in eZ Studio, if we delete the draft then the complete object will be deleted instead.


      Steps to reproduce:
      1. Go to an existing landing page with no drafts (Page -> Siteaccess -> Landing page)
      2. Push Edit
      3. Push "Delete draft"
      4. The complete object gets deleted.


      Request results:

      Request:

      GET /site/Test-Page HTTP/1.1
      Host: ezenterprise15.local
      User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0
      Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
      Accept-Language: en-US,en;q=0.5
      Accept-Encoding: gzip, deflate
      DNT: 1
      Referer: http://ezenterprise15.local/ez
      Cookie: eZSESSID=669koeupl3hkogp9e5v0fo9il6; eZSESSID98defd6ee70dfb1dea416cecdf391f58=jm6u6mvurmgu0q67t2qqpcjld7
      Connection: keep-alive
      

      Response:

      HTTP/1.1 404 Not Found
      Date: Tue, 04 Oct 2016 10:50:44 GMT
      Server: Apache/2.4.18 (Ubuntu)
      Cache-Control: private
      Vary: X-User-Hash
      Content-Length: 471
      Keep-Alive: timeout=5, max=97
      Connection: Keep-Alive
      Content-Type: text/html; charset=UTF-8
      

      Request:

      GET /studio/urlaliasinfo?url=%2Fsite%2FTest-Page HTTP/1.1
      Host: ezenterprise15.local
      User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0
      Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
      Accept-Language: en-US,en;q=0.5
      Accept-Encoding: gzip, deflate
      DNT: 1
      X-Requested-With: XMLHttpRequest
      X-Siteaccess: site
      Referer: http://ezenterprise15.local/ez
      Cookie: eZSESSID=669koeupl3hkogp9e5v0fo9il6; eZSESSID98defd6ee70dfb1dea416cecdf391f58=jm6u6mvurmgu0q67t2qqpcjld7
      Connection: keep-alive
      

      Response:

      HTTP/1.1 404 Not Found
      Date: Tue, 04 Oct 2016 10:50:46 GMT
      Server: Apache/2.4.18 (Ubuntu)
      Cache-Control: private
      Vary: X-User-Hash
      Content-Length: 23
      Keep-Alive: timeout=5, max=94
      Connection: Keep-Alive
      Content-Type: application/json
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              ricardo.correia-obsolete@ez.no Ricardo Correia (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: