`options` map modified directly
@adimiz1 đang làm issue này rồi.
Từ ngày 21/7/2025.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Describe the bug in a sentence or two.
When passing in an immutable map to Uploader.uploadLarge it errors out because the method tries to update the same instance that was passed in to it.
AFAICS, in most places a defensive copy is made from the options map, but not here. It caused issues for us as we are using the lib from Clojure interop, and by default, all the collections there are immutable.
Issue Type (Can be multiple)
[ ] Build - Can’t install or import the SDK
[ ] Performance - Performance issues
[x] Behaviour - Functions aren’t working as expected (Such as generate URL)
[ ] Documentation - Inconsistency between the docs and behaviour
[ ] Other (Specify)
Steps to reproduce
Use an immutable map as options for Uploader.uploadLarge when file is a java.util.File.
Versions and Libraries (fill in the version numbers)
Cloudinary Java SDK version - 1.39.0
- Ngôn ngữ chính
- Java
- Star
- 176
- Fork
- 113
- Merge trung bình
- 9 ngày 20 giờ
- Pull request đã merge (30 ngày)
- 2
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của cloudinary/cloudinary_java
-
Api#resourceByAssetID does not support same options as in documentationCó thể làm lại được @adimiz1 đã nhận 646 ngày trước và không có pull request nào đang mở. Đang mở
cloudinary/cloudinary_java#357 · 2 bình luận · 1 người được giao ·
-
Readme - Maven dependencyCó thể làm lại được @adimiz1 đã nhận 754 ngày trước và không có pull request nào đang mở. Đang mở
cloudinary/cloudinary_java#349 · 1 bình luận · 1 người được giao ·
-
cloudinary-http5 ignores system propertiesCó thể làm lại được @adimiz1 đã nhận 754 ngày trước và không có pull request nào đang mở. Đang mở
cloudinary/cloudinary_java#348 · 2 bình luận · 1 người được giao ·
-
Make usage of http clients (apache, OkHttp, Jetty, Asynch) easierCó thể làm lại được @ManishS6 đã nhận 772 ngày trước và không có pull request nào đang mở. Đang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
cloudinary/cloudinary_java#343 · 6 bình luận ·
-
Missing contributing guidelinesCó thể làm lại được @debnath003 đã nhận 768 ngày trước và không có pull request nào đang mở. Đang mở
cloudinary/cloudinary_java#339 · 2 bình luận · 1 người được giao ·
Tất cả issue của cloudinary/cloudinary_java
Issue tương tự
-
bug(core): skip_nodes.json is missing SELECT and PRE, causing Python and Java to insert separators into dropdown options and preformatted textCó thể đã có người làm @Bhumit267 đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 1 ngày
-
ExceptionThrowShouldUseContext: NullPointerException on a catch block inside an annotation typeCó thể đã có người làm @Carbon14-48 đã nhận hôm nay. Đang mởapproved
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
checkstyle/checkstyle#22784 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
ASSERT-KTH/depclean#591 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Api537FlareFlameModel.setStackHeightM accepts a negative heightCó thể đã có người làm @EvenSol đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Maintainer thường phản hồi trong vòng 1 ngày