Feature #3560
Display meaningful error message if temporary path would be too long for OS
Status: | Resolved | Start date: | 2009-06-04 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | Bastian Waidelich | % Done: | 100% |
|
Category: | Utility | |||
Target version: | TYPO3 Flow Base Distribution - 1.0 alpha 3 | |||
PHP Version: | Complexity: | |||
Has patch: |
Description
Certain setups (Windows ...) don't allow long path names. If FLOW3 is installed somewhere deep in the file structure, the path + file name for the caches and temp directory can become too long.
Currently this results in an exception thrown when trying to write to that directory (see #3550) but this could be checked earlier, when the temp directory is created in Utility\Environment. A meaningful error message would help to configure FLOW3 correctly.
Related issues
Associated revisions
[+FEATURE] FLOW3 (Cache): Throw exception if FileBackend tries to create a file with a path that exceeds the maximum allowed path length. Fixes #3560
[+FEATURE] FLOW3 (Environment): Create warning log entry if temporary base path is longer than (PHP_MAXPATHLEN - 230). Relates to #3560
[BUGFIX] FLOW3 (Monitor): Fixed one more file monitor test that failed on Windows. Relates to #3823
[~TASK] FLOW3 (Cache): FileBackend now stores the result of $this->environment->getMaximumPathLength() to increase performance. Relates to #3560
History
#1 Updated by Robert Lemke about 6 years ago
- Target version changed from 1.0 alpha 2 to 283
#2 Updated by Robert Lemke about 6 years ago
- Target version changed from 283 to 1.0 alpha 3
#3 Updated by Robert Lemke about 6 years ago
- Assigned To set to Bastian Waidelich
#4 Updated by Bastian Waidelich about 6 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Applied in changeset r2898.