Review TYPO3_4-7 Merged

17622[BUGFIX] Preview images not rendered in Web > Page view on Windows systems

Wouter Wolters CR +2 V +2 Normal +46 −14 updated 06/03/13, 20:49

Commit message

In Web > Page view the preview images are not rendered on Windows systems.
This is due to failing functions in class
TYPO3\CMS\Core\Utility\PathUtility. Basically it's an issue with forward
and backward slashes. In the class the constance DIRECTORY_SEPARATOR is
used which is on Windows systems a backward slash. Normally paths in TYPO3
are converted to use forward slashes and here is the existing problem.

This patch removes the constance in some functions (which are nessessary
for preview images) and makes sure all pathes are converted to unix style.
Than processing can use forward shlashes and carry on.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Files 2