Bug #29853
closedBroken image paths when in workspace module.
100%
Description
When comparing live & draft versions in the workspaces module, images paths are broken and images are not shown.
The point is that, if your images are stored in 'uploads/', the relative path will now be 'typo3/uploads/' because you're viewing the backend. Is this a bug or can this be fixed with a setting somewhere?
Files
Updated by Tobias Liebig about 13 years ago
I can confirm this is a bug (using the introduction package 4.5.6)
Updated by Bart Dubelaar about 13 years ago
The problem is that the record as it is in the database is outputted directly without any parsing.
In extdirect/server.php: $liveRecord = t3lib_BEfunc::getRecord($parameter->table, $parameter->t3ver_oid);), and that gets printed.
Of course I can do a dirty search for 'uploads/', 'fileadmin/', etc. and prefix it with a slash. But that just doesn't cut it.
Can anyone point me to some proper functions to parse the record from the DB? Then I will create a fix.
Updated by Bart Dubelaar about 13 years ago
- File wspatch.diff wspatch.diff added
Updated by Mr. Hudson about 13 years ago
Patch set 1 of change I9e8cdf717ce0c89ab3e16d33267727f7050092a9 has been pushed to the review server.
It is available at http://review.typo3.org/5370
Updated by Tolleiv Nietsch about 13 years ago
- Status changed from New to Under Review
Thanks for contributing
Updated by Mr. Hudson about 13 years ago
Patch set 1 of change I4aa49e8c9d41f47af2c56562284be0c494c78713 has been pushed to the review server.
It is available at http://review.typo3.org/6005
Updated by Bart Dubelaar about 13 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset commit:f9f3c737a1e23c0126b2604299b4e8c902ea5a47.
Updated by Michael Stucki almost 11 years ago
- Category changed from Bugs to Workspaces
Updated by Michael Stucki almost 11 years ago
- Project changed from 624 to TYPO3 Core
- Category changed from Workspaces to Workspaces