Project

General

Profile

Actions

Bug #75460

closed

Replacement of pictures of an image CE in workspaces

Added by Alexander Krist about 8 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Workspaces
Target version:
-
Start date:
2016-04-08
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Hello,

there is a bug with FAL images in workspaces.
I can't see the added images in edit mode after i deleted the original image in workspace.

What i've done

1. Create an image CE with an picture. (screenshot1.png)
2. Switch to a Workspace (screenshot2.png)
3. Edit the image CE (screenshot3.png)
4. Delete the picture from live workspace (screenshot4.png)
5. Add new picture(s) (screenshot4.png)
6. Save

I can see the picture(s) in the workspace preview view.
I can see the picture(s) in the BE page module (screenshot5.png)
But i can't see the picture(s) when i like to edit the image CE. (screenshot6.png)
I can add new picutres but
I can't delete the added pictures because I can't see them.


Files

screenshot1.png (59.6 KB) screenshot1.png Alexander Krist, 2016-04-08 13:10
screenshot2.png (42.1 KB) screenshot2.png Alexander Krist, 2016-04-08 13:10
screenshot3.png (54.3 KB) screenshot3.png Alexander Krist, 2016-04-08 13:10
screenshot4.png (71.2 KB) screenshot4.png Alexander Krist, 2016-04-08 13:10
screenshot5.png (58 KB) screenshot5.png Alexander Krist, 2016-04-08 13:10
screenshot6.png (54.1 KB) screenshot6.png Alexander Krist, 2016-04-08 13:10

Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #76012: Swapped page "Media" image file in workspace not shown unless publishedClosed2016-05-02

Actions
Actions #1

Updated by Armin Vieweg about 8 years ago

  • Status changed from New to Needs Feedback
  • Assignee set to Alexander Krist

Sure that this is DCE related?
It looks like a normal content element and a bug in TYPO3 core. Probably the "inline record" part, which is responsible to get FAL relations.

Can you confirm that it is also buggy with regular content elements?
If yes, I move this ticket to TYPO3 CMS project for you.

Thanks for this detailed ticket, with screenshots and clear description!

Actions #2

Updated by Alexander Krist about 8 years ago

You are right. I don't know why I opened it here. So how can I move it to Core?

Actions #3

Updated by Armin Vieweg about 8 years ago

  • Status changed from Needs Feedback to New
  • Assignee deleted (Alexander Krist)
Actions #4

Updated by Armin Vieweg about 8 years ago

  • Project changed from 2185 to TYPO3 Core
Actions #5

Updated by Armin Vieweg about 8 years ago

I've moved the ticket to core for you.

Actions #6

Updated by Alexander Krist about 8 years ago

Thanks

Actions #7

Updated by Christoph Domin almost 8 years ago

We have the same problem with a Typo3 7.6.4 Installation.

Actions #8

Updated by Riccardo De Contardi almost 8 years ago

  • Category set to Workspaces
  • Is Regression set to No
Actions #9

Updated by Andreas Allacher almost 8 years ago

The issue is most likely that in \TYPO3\CMS\Backend\Form\FormDataProvider\TcaInline class, the method getWorkspacedUids
returns an empty array, if there is any deleted record.

However, instead it should just continue the foreach loop and not add the record to the array.

Actions #10

Updated by Gerrit Code Review almost 8 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/48608

Actions #11

Updated by Gerrit Code Review almost 8 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/48608

Actions #12

Updated by Gerrit Code Review almost 8 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/48608

Actions #13

Updated by Gerrit Code Review almost 8 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/48608

Actions #14

Updated by Sascha Schieferdecker over 7 years ago

Does this patch have a chance to get merged? We are using the patched version for several months in project affected by this issue and it solves the problem - we did not notice adverse side effects.

Actions #15

Updated by Susanne Moog over 7 years ago

I also wrote it at the review: The main bug was fixed by #76012 3 months ago, question is whether this patch is still necessary.

Actions #16

Updated by Oliver Hader over 7 years ago

  • Status changed from Under Review to Closed

Change is not required anymore for disappeared children in form-engine in workspace context

Actions #17

Updated by Andreas Allacher over 7 years ago

The mentioned bugfix doesn't fix the following, quoting from review.

The other two lines are necessary to ensure deleted files in translations are not shown inside workspaces.
If you now have two languages 
and images in a content-element in the non-default language.
Now if you delete one of those images and save the content element in the non-default language, you will see that the image is still visible.
That is why the other tow lines existed. Not sure if that hasn't been fixed with another ticket.
If not, we should create a new ticket for that and move the corresponding changes there.

If not, we should create another ticket for that and move the code changes there.

Actions

Also available in: Atom PDF