Skip to content

Fix 2116: Fix duplicate input filename by adding unique naming#2132

Open
Monal-Reddy wants to merge 1 commit intoaboutcode-org:mainfrom
Monal-Reddy:fix-2116-duplicate-input-filenames
Open

Fix 2116: Fix duplicate input filename by adding unique naming#2132
Monal-Reddy wants to merge 1 commit intoaboutcode-org:mainfrom
Monal-Reddy:fix-2116-duplicate-input-filenames

Conversation

@Monal-Reddy
Copy link
Copy Markdown
Contributor

@Monal-Reddy Monal-Reddy commented Mar 30, 2026

Issues

Changes

Fixed issue where multiple input files with the same filename were being overwritten. if a file with the same name already exists in the input directory, a numeric suffix (like 2, 3...) is added to create a unique filename instead of overwriting the existing file.Added a unit test to verify that duplicate filenames are handled correctly.

Checklist

  • I have read the contributing guidelines
  • I have linked an existing issue above
  • I have added unit tests covering the new code
  • I have reviewed and understood every line of this PR
image

Signed-off-by: Monal-Reddy <monalreddy001@gmail.com>
@Monal-Reddy
Copy link
Copy Markdown
Contributor Author

@tdruez could you plz check this out, will make any required changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Input loss in web UI

1 participant