Actions
Bug #96927
closedTypeScript compilation fails on case insensitive file systems
Status:
Closed
Priority:
Should have
Assignee:
Category:
Backend JavaScript
Target version:
Start date:
2022-02-16
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Found by Oliver Bartsch:
Running "exec:ts" (exec) task Sources/TypeScript/backend/form-engine.ts:626:14 - error TS1261: Already included file name '/var/www/html/Build/Sources/TypeScript/backend/input/clearable.ts' differs from file name '/var/www/html/Build/Sources/TypeScript/backend/Input/clearable.ts' only in casing. The file is in the program because: Imported via '@typo3/backend/input/clearable' from file '/var/www/html/Build/Sources/TypeScript/backend/form-engine.ts' Imported via '@typo3/backend/input/clearable' from file '/var/www/html/Build/Sources/TypeScript/backend/login.ts' Imported via '../input/clearable' from file '/var/www/html/Build/Sources/TypeScript/backend/toolbar/live-search.ts' Imported via '@typo3/backend/input/clearable' from file '/var/www/html/Build/Sources/TypeScript/belog/backend-log.ts' Imported via '@typo3/backend/input/clearable' from file '/var/www/html/Build/Sources/TypeScript/beuser/backend-user-listing.ts' Imported via '@typo3/backend/input/clearable' from file '/var/www/html/Build/Sources/TypeScript/extensionmanager/repository.ts' Imported via '@typo3/backend/input/clearable' from file '/var/www/html/Build/Sources/TypeScript/extensionmanager/main.ts' Imported via '@typo3/backend/input/clearable' from file '/var/www/html/Build/Sources/TypeScript/lowlevel/query-generator.ts' Imported via '@typo3/backend/input/clearable' from file '/var/www/html/Build/Sources/TypeScript/recycler/recycler.ts' Imported via '@typo3/backend/input/clearable' from file '/var/www/html/Build/Sources/TypeScript/tstemplate/typo-script-object-browser.ts' Imported via '@typo3/backend/input/clearable' from file '/var/www/html/Build/Sources/TypeScript/workspaces/backend.ts' Matched by include pattern '**/*' in 'tsconfig.json' 626 import('@typo3/backend/input/clearable').then(function() { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Sources/TypeScript/backend/login.ts:16:8 16 import '@typo3/backend/input/clearable'; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ File is included via import here. Sources/TypeScript/backend/toolbar/live-search.ts:18:8 18 import '../input/clearable'; ~~~~~~~~~~~~~~~~~~~~ File is included via import here. Sources/TypeScript/belog/backend-log.ts:16:8 16 import '@typo3/backend/input/clearable'; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ File is included via import here. Sources/TypeScript/beuser/backend-user-listing.ts:14:8 14 import '@typo3/backend/input/clearable'; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ File is included via import here. Sources/TypeScript/extensionmanager/repository.ts:20:8 20 import '@typo3/backend/input/clearable'; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ File is included via import here. Sources/TypeScript/extensionmanager/main.ts:25:8 25 import '@typo3/backend/input/clearable'; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ File is included via import here. Sources/TypeScript/lowlevel/query-generator.ts:15:8 15 import '@typo3/backend/input/clearable'; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ File is included via import here. Sources/TypeScript/recycler/recycler.ts:16:8 16 import '@typo3/backend/input/clearable'; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ File is included via import here. Sources/TypeScript/tstemplate/typo-script-object-browser.ts:14:8 14 import '@typo3/backend/input/clearable'; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ File is included via import here. Sources/TypeScript/workspaces/backend.ts:18:8 18 import '@typo3/backend/input/clearable'; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ File is included via import here. Found 1 error. >> Exited with code: 2. >> Error executing child process: Error: Process exited with code 2. Warning: Task "exec:ts" failed. Use --force to continue. Aborted due to warnings.
Updated by Benjamin Franzke almost 3 years ago
- Related to Task #96906: Switch JavaScript module namespace to @typo3/ and use lowercase-dashed filename syntax. added
Updated by Benjamin Franzke almost 3 years ago
- Subject changed from TypeScript compilation fails on case sensitive file systems to TypeScript compilation fails on case insensitive file systems
Updated by Gerrit Code Review almost 3 years ago
- Status changed from New to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/73562
Updated by Benjamin Franzke almost 3 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset fcd236e3d0a921e116ea73c8e7bc6fb701c84160.
Actions