Bug Description
When uploading files to MinIO storage, files are not stored properly and instead are stored as directories, making the actual file content inaccessible.
Steps to Reproduce
- Execute file upload from OpenContext Admin UI
- Select a PDF, Markdown, or text file
- Click upload button
- Check MinIO storage - file is stored as a directory instead of a file
Expected Behavior
Files should be stored normally in MinIO and file content should be downloadable.
Actual Behavior
Files are stored as directories, preventing access to actual file content.
Environment
- OS: Windows 10.0.26100
- Backend: Spring Boot (Java)
- Storage: MinIO
- Database: PostgreSQL
Additional Context
Related Files:
core/src/main/java/com/opencontext/service/FileStorageService.java
docker-compose.yml (MinIO configuration)
core/src/main/resources/application.yml (MinIO configuration)
Bug Description
When uploading files to MinIO storage, files are not stored properly and instead are stored as directories, making the actual file content inaccessible.
Steps to Reproduce
Expected Behavior
Files should be stored normally in MinIO and file content should be downloadable.
Actual Behavior
Files are stored as directories, preventing access to actual file content.
Environment
Additional Context
Related Files:
core/src/main/java/com/opencontext/service/FileStorageService.javadocker-compose.yml(MinIO configuration)core/src/main/resources/application.yml(MinIO configuration)