UI5 / UI5/cli

Add case sensitive check (independent of file system)

Open
#456 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

module/ui5-fs
Dominant language
JavaScript
Stars
511
Forks
83
Avg merge
1d 5h
Merged PRs (30d)
55

Description

Original issue by @matz3

A file called test.js on the file system can be loaded from the server with different cases like Test.js or TEsT.js when using a case insensitive files system (Windows, Mac).

This can cause problems as local development works fine but when deploying to a linux based server the file can't be found anymore.

Background

Tomcat had a caseSensitive configuration with default true to do a case sensitive check also for case insensitive file systems. This config has been removed with Tomcat 7 to always enable this behavior.
See: http://tomcat.apache.org/tomcat-6.0-doc/config/context.html

Affected components

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue identifies ui5-fs as the affected component; start by locating its file-loading and path-resolution entry points. Check how those operations behave on case-insensitive and case-sensitive file systems, then add coverage showing that differently cased paths are rejected consistently. Done means the same case-sensitive behavior works independently of the host file system.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.