Project

General

Profile

Actions

Bug #57413

closed

Symlink check on /typo3 directory is not working correctly if target ends with a slash

Added by Jana Golinowski over 10 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Install Tool
Target version:
-
Start date:
2014-03-28
Due date:
% Done:

100%

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

Description

I just did a test installation of TYPO3 6.2 and noticed that the Install Tool doesn't recognize my symlink for /typo3.

I created this symlink using tab-completion so the link target ends with a slash. But the Install Tool seems not to be able to read the target in that case.

Install Tool message:

/typo3 is a link, but link target is not as specified
Link target should be typo3_src/typo3 but is typo3_src/typo3/

Symlink commands causing that message:

$ ln -s typo3_src/typo3/
$ ln -s typo3_src/typo3/ .
$ ln -s typo3_src/typo3/ typo3

Symlink command NOT causing that message:

$ ln -s typo3_src/typo3
$ ln -s typo3_src/typo3 .
$ ln -s typo3_src/typo3 typo3

A simple cli test is working for both cases:

$ ln -s typo3_src/typo3
$ php -r "var_dump(readlink('typo3'));" 
string(15) "typo3_src/typo3" 
$ ln -s typo3_src/typo3/
$ php -r "var_dump(readlink('typo3'));" 
string(16) "typo3_src/typo3/" 

Actions #1

Updated by Gernot Ploiner about 10 years ago

I can confirm this issue.

To reproduce, use this command when installing TYPO3:
ln -s typo3_src/typo3/ typo3

But it works perfect with this command:
ln -s typo3_src/typo3 typo3

It occurs in all Versions of TYPO3 6.2. Tested today with the newest 6.2.5
I think this is a small issue and will resolve this problem for a lot of people.

thank you
gernott

Actions #2

Updated by Gerrit Code Review almost 10 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 http://review.typo3.org/36339

Actions #3

Updated by Christian Kuhn almost 10 years ago

  • Sprint Focus set to On Location Sprint
Actions #4

Updated by Gerrit Code Review almost 10 years ago

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

Actions #5

Updated by Andreas Fernandez almost 10 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #6

Updated by Gerrit Code Review over 9 years ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/37749

Actions #7

Updated by Andreas Fernandez over 9 years ago

  • Status changed from Under Review to Resolved
Actions #8

Updated by Anja Leichsenring almost 9 years ago

  • Sprint Focus deleted (On Location Sprint)
Actions #9

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF