Uploaded image for project: 'Magnolia Soft Locking Module'
  1. Magnolia Soft Locking Module
  2. MGNLSLOCK-15

SoftLocking deletes new paragraph after creation - after deleting one at the same position

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 1.0.4
    • 1.0.3
    • None
    • Magnolia EE 4.4.5

      If you delete a paragraph and then create a new one at the same position, then the paragraph gets immediately deleted by the softlocking-javascript polling request.

      The deletion of a paragraph is done by a GET request eg. http://localhost:8080/untitled.html?mgnlCK=1319700663177&mgnlIntercept=NODE_DELETE&mgnlPath=/untitled/main/00

      The softlocking-js invokes a get request on the current page periodically, using the SAME parameters, which had been used to get the page - with the mgnlIntercept=NODE_DELETE parameter in it.
      So, the softlocking-js calls this url:
      http://localhost:8080/untitled.html?mgnlCK=1319700663177&mgnlIntercept=NODE_DELETE&mgnlPath=/untitled/main/00&isSoftLockingAjaxRequest=true&op=stat and tries to remove the paragraph again.

      This bug seems to be related to MGNLSLOCK-13, where location.href (full url, including parameters) gets used to determine the ajax-url.

      I hope this can be fixed.

      Thank you very much!

      Regards,
      Florian Fuchs

        Acceptance criteria

              ochytil Ondrej Chytil
              fuchs.florian Florian Fuchs
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD