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

Images embedded in RichText editor dissapear after undo

    Details

    • Sprint:
      [2.3] Sprint 3

      Description

      Customer encountered problems with RichText editor. After undoing some changes (using Ctrl+Z / Cmd+Z) all the images which were embedded using UDW disappear.

      Steps to reproduce:
      1. Create new content which contains RichText field, e.g. Article.
      2. Type some text.
      3. Attach an image using embed or image widget.
      4. Hit "undo" keys combination: Ctrl+Z / Cmd+Z.

      Result:
      A small rectangle is shown instead of an image (see attachment).

      Note 1:
      This issue applies only to content which was embedded using UDW (either existing one from the library, or a new one which was uploaded using "Create" tab). Problem doesn't show up when attaching image via drag&drop.

      Note 2:
      In v2 behaviour is a bit odd: images disappear, the small rectangle shows up but immediately after that images appear once again.

      Note 3:
      After publishing the article, images are renderred correctly.

      1. EZP-29254.patch
        10 kB
        Dariusz Szut
      1. image_after_undo.png
        9 kB

        Activity

        Show
        Dariusz Szut added a comment - PR to 1.7 created: https://github.com/ezsystems/PlatformUIBundle/pull/975 PR to 1.7 merged: https://github.com/ezsystems/PlatformUIBundle/commit/ad7fa65dd6dc061b098fe50818aa8d7ad35cbb1e Branch 1.7 merged into 1.13: https://github.com/ezsystems/PlatformUIBundle/commit/9d89a5128f87c823bbd0540b25f89f235b6774be Branch 1.13 merged into master: https://github.com/ezsystems/PlatformUIBundle/commit/dfa22d6c0ad9a6633f1ba62911d643ec544c3fa3 PR to 2.2 created: https://github.com/ezsystems/ezplatform-admin-ui/pull/555 PR to 2.2 merged: https://github.com/ezsystems/ezplatform-admin-ui/commit/289ed91b5a8d278162cae20824cad44eb22044d9
        Hide
        Barbara Grajczyk added a comment -

        QA approved. Tested successfully on v1.7, v2.2 and with patch on v1.13.

        tcezs-139

        Show
        Barbara Grajczyk added a comment - QA approved. Tested successfully on v1.7, v2.2 and with patch on v1.13. tcezs-139
        Show
        Dariusz Szut added a comment - PR to 1.7 created: https://github.com/ezsystems/PlatformUIBundle/pull/978 PR to 1.7 merged: https://github.com/ezsystems/PlatformUIBundle/commit/e76d7023a032e0162ce1721b5d437a3a0ddc9514 Branch 1.7 merged into 1.13: https://github.com/ezsystems/PlatformUIBundle/commit/d78e48a7acd46f04a95623bb8f715e0bcf3e0fb1 Branch 1.13 merge into master: https://github.com/ezsystems/PlatformUIBundle/commit/955b8f9fb064c6d0612571691804b1d2e4eec848
        Hide
        Barbara Grajczyk added a comment -

        QA approved. Tested successfully on v1.7 and with patch on v1.13.

        tcezs-139

        Show
        Barbara Grajczyk added a comment - QA approved. Tested successfully on v1.7 and with patch on v1.13. tcezs-139

          People

          • Assignee:
            Unassigned
            Reporter:
            Konrad Oboza
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Agile