Bug #54488
closed
Images vanishing from output in preview
Added by Kai Kretschmann about 11 years ago.
Updated almost 9 years ago.
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.
- 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!
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
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.
- Status changed from Needs Feedback to New
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.
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.
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).
- Target version changed from next-patchlevel to 7.5
- Status changed from New to Closed
- Status changed from Closed to New
- Target version changed from 7.5 to 7 LTS
- TYPO3 Version changed from 4.5 to 6.2
- Complexity set to hard
- Target version deleted (
7 LTS)
Is that still an issue in current 6.2 and 7.6 versions?
- Status changed from New to Needs Feedback
- 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.
Also available in: Atom
PDF