question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Edit text -> save -> images doublicated

See original GitHub issue
django===1.8.7
djangocms==3.3.3
djangocms-text-ckeditor==3.1.0
django-filer==1.2.6
cmsplugin-filer==1.0.0

After updating the cms (3.2.X --> 3.3.3) and the ckeditor (2.8.1 --> 3.1.0), I’m observing a very strange behavior.

  1. The embedded image is no longer recognized as a cmsplugin. bildschirmfoto 2017-03-30 um 18 14 30

  2. When I edit text that has one or more embedded cmsplugin-filer-image plugins, the images are doublicated after saving. Here’s a visual example.

Before editing: bildschirmfoto 2017-03-30 um 14 16 48

After editing: bildschirmfoto 2017-03-30 um 14 17 37

In structure mode, however, it says that there is only on image instance:

bildschirmfoto 2017-03-30 um 14 19 52
  1. When editing the plugin again, only one of the two images behaves like a child image plugin is supposed to.

Here’s the one that does: bildschirmfoto 2017-03-30 um 14 22 21

And here’s the one that doesn’t: bildschirmfoto 2017-03-30 um 14 22 37

When I add a fresh instance of a text plugin to the placeholder (on the same page), the described behavior can not be observed. I applies only to text with nested images that existed prior to the updates.

Likewise, when I delete all images from an existing plugin instance, save, then go and add them again, the plugin and images behave as expected again.

Have you come across this yet? Do you have any suggestions on how to tackle this?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:44 (15 by maintainers)

github_iconTop GitHub Comments

1reaction
mogohcommented, Feb 1, 2022

@fsbraun sorry, I used the wrong phrase. I meant “out comment”, not “uncomment” the djangocms bootstrap4. Djangocms bootstrap4 is in the part of the django-cms-quickstart repository, but for reproduction of this issue, I needed to remove it.

1reaction
flaviocampitelicommented, Jun 26, 2017

Hi peoples,

i’m upgraded to 3.5 version, but dosen’t resolved this problem. Continue to duplicate the images.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Find and delete duplicate photos and videos on iPhone
Find and delete duplicate photos and videos on iPhone · Tap Albums, then tap Duplicates below Utilities. Duplicate photos and videos appear next...
Read more >
Duplicate images appear in EditText after insert one ...
I have below code slice to insert a bitmap into an EditText widget. With Android 5.x, it works fine, but with Android 4.x,...
Read more >
How to make a duplicate of a photo on iPhone before I crop ...
You can repeat clicking Share->Save Image, for as many copies of the photo as you want. When you're done, go back to Photos...
Read more >
How to add and edit text in Photoshop
Select the Type tool in the toolbar. · Select the text you want to edit. · Finally, click in the options bar to...
Read more >
Duplicating designs - Canva Help Center
Tap Make a copy. The duplicated design will appear in the same tab or folder. Duplicating designs from the editor.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found