Project

General

Profile

Actions

Bug #54488

closed

Images vanishing from output in preview

Added by Kai Kretschmann over 10 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Workspaces
Target version:
-
Start date:
2013-12-18
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
hard
Is Regression:
Yes
Sprint Focus:

Description

After installing 4.5.32 it seems that the workspaces don't work anymore.
When I switch to my workspace and change an image object, either by moving it up or down in the order or by just changing the (hidden) title by one character, the preview skips that element. The rest still displays.

Before that update it worked. I don't remember if I updated from .30 or .31 but there must have been some change in the last patches.

Other elements can be edited, like header elements. These changes are displayed in the visual preview.

For images I have also the dam extensions installed.


Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Task #54948: swap workspace won't reset t3ver_wsidClosedOliver Hader2014-01-13

Actions
Related to TYPO3 Core - Bug #63132: Image in workspaceClosed2014-11-21

Actions
Is duplicate of TYPO3 Core - Bug #59551: Workspace - Preview Image - Image not show - 4.5.31 and afterClosed2014-06-13

Actions
Actions #1

Updated by Oliver Hader over 10 years ago

  • Status changed from New to Needs Feedback
  • Assignee set to Oliver Hader
  • Is Regression changed from No to Yes

Can you please investigate the version this worked, thus either 4.5.30 or 4.5.31?
Did you update the DAM Extension in between?

DAM uses MM relations to reference images with tt_content elements - thus, this might be a good starting point.
I can have a look if you could provide some more details and version numbers. Thanks in advance!

Actions #2

Updated by Kai Kretschmann over 10 years ago

I stepped backwards and it seems to break when going from .30 to .31, with 4.5.30 the dam image versioning works.
The main dam extension is version 1.3.1

Actions #3

Updated by Online Now! GmbH over 10 years ago

We have the same problem in one of our projects. Image in Workspace preview ( normal view and frame view with slider ) does not work with 4.5.31 and 4.5.32. The installed DAM version is 1.3.2.

Actions #4

Updated by Alexander Opitz over 10 years ago

  • Status changed from Needs Feedback to New
Actions #5

Updated by Online Now! GmbH almost 10 years ago

After investigating this, i managed to find the cause of this issue. Between 4.5.30 and 4.5.31 there was a change in the enabledField() function ( /t3lib/class.t3lib_page.php ). There was a check for the parameter $noVersionPreview added, which is by default set to false. But the check for this parameter is wrong:

// Filter out versioned records
if (!$noVersionPreview) {
    $query .= ' AND ' . $table . '.pid<>-1';
}

This should be changed to:

// Filter out versioned records
if ((bool)$noVersionPreview) {
     $query .= ' AND ' . $table . '.pid<>-1';
}

Now the check means, if there is no version preview wanted, select only records with a pid <> -1 ( which are records created in a workspace environment ).

After manually fixing this in our installation, everything works again as expected.

Actions #6

Updated by Online Now! GmbH almost 10 years ago

Unfortunately, the suggested fix yesterday breaks the display of normal content ( tt_content ) in workspace preview. So dont use it. A working fix for the posted problem is still open.

Actions #7

Updated by Lars Trebing almost 10 years ago

I think that this should be marked as related or even a duplicate of #54948 and/or as related to #37065.

To anyone in need of a temporary solution, I would recommend reverting the appropriate changeset from #37065 (i.e. d114ddb3 for 4.5, f561b99 for 6.0, 3ac3429 for 6.1, and a81a581 for 6.2).

Actions #8

Updated by Mathias Schreiber over 9 years ago

  • Target version changed from next-patchlevel to 7.5
Actions #9

Updated by Riccardo De Contardi over 8 years ago

  • Status changed from New to Closed

wrongly closed ,sorry

Actions #10

Updated by Riccardo De Contardi over 8 years ago

  • Status changed from Closed to New
Actions #11

Updated by Oliver Hader over 8 years ago

  • Target version changed from 7.5 to 7 LTS
  • TYPO3 Version changed from 4.5 to 6.2
  • Complexity set to hard
Actions #12

Updated by Mathias Schreiber over 8 years ago

  • Target version deleted (7 LTS)
Actions #13

Updated by Oliver Hader over 8 years ago

Is that still an issue in current 6.2 and 7.6 versions?

Actions #14

Updated by Oliver Hader over 8 years ago

  • Status changed from New to Needs Feedback
Actions #15

Updated by Alexander Opitz almost 8 years ago

  • Status changed from Needs Feedback to Closed
  • Assignee deleted (Oliver Hader)

No feedback within the last 90 days => closing this issue.

If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.

Actions

Also available in: Atom PDF