Bug #89784

Copy Contentelement "Text with Media" - Media is missing in the new element

Added by Andreas Fragner 2 months ago. Updated 6 days ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2019-11-27
Due date:
% Done:

0%

TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

When I copy a CE of type "Text with Media" the files are missing in the new CE. Only content from RTE is copied but no file relations.
Same result when I copy the whole page. Content elements are copied without file relations.

History

#1 Updated by Riccardo De Contardi about 2 months ago

  • Status changed from New to Needs Feedback

I can't reproduce this issue, even with a non-admin user. Can you share more information about how to reproduce this issue?

Please specify for example:

- a step-by-step list of all the operations you did
- user and usergroup configuration and privileges

#2 Updated by Andreas Fragner about 2 months ago

Here is my Step-By-Step List:

1.) Login as Admin
2.) Left Menu Select "PAGE"
3.) In the Page-Tree select the page
4.) Rioght Click on a content element of type "Text and Media" and choose "COPY"
5.) Click the icon for pasting the CE
6.) The following question if reference or copy choose "COPY"

The I have a CE without images.

The source CE is including severeal images and nothing else.

The same is happening if I copy a whole page. Content-Elements get copied, but file references are not copied.

#3 Updated by Riccardo De Contardi about 2 months ago

  • Status changed from Needs Feedback to New

#4 Updated by Riccardo De Contardi about 2 months ago

  • Status changed from New to Needs Feedback

6.) The following question if reference or copy choose "COPY"

Are you using EXT:gridelements? IIRC the "paste as reference" button is added by that extension. Maybe you perform your copy inside a grid element?

#5 Updated by Andreas Fragner about 2 months ago

Yes I'm using EXT:gridelements, but this bug I'm not copying content elements inside a gridelement.
To reproduce this bug I create a content element without a surrouding gridelement.

Just to be sure I just created a new empty page in this installation without any content elements. On this page I created a new CE "text and media" an inserted 3 existing images from the fileadmin folder. After saving the newly created CE I tried to copy it - same result: no filereferences in the new copy. I did not use any gridelement on the new page.

So how can this be influenced by gridelements when gridelements are not used on the newly created page in this typo3 instance?

#6 Updated by Riccardo De Contardi about 2 months ago

  • Status changed from Needs Feedback to New

#7 Updated by Andreas Fragner 6 days ago

Please let me know how I can help to solve this issue - I think it is only occuring when updating a Typo3 V8 installation to Typo3 V9. I have here a fresh Typo3 V10 installation where this bug is not reproducable. I'll try to get a fresh V9 installation with introduction package to test if this issue also exists.
Maybe some database dumps could be helpful to solve this issue?

Update: fresh installation with introduction package: the problem is not occuring - so how can we solve this or how can we find out why this is happening in my upgraded installations?

Also available in: Atom PDF