`options` map modified directly
@adimiz1 arbeitet bereits daran.
Seit 21.7.2025.
Bewertung
Dieses Issue wurde noch nicht bewertet.
Beschreibung
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
- Vorherrschende Sprache
- Java
- Sterne
- 176
- Forks
- 113
- Ø Merge
- 9 T. 20 Std.
- Gemergte PRs (30 T.)
- 2
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Kein Beitragsleitfaden
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus cloudinary/cloudinary_java
-
Api#resourceByAssetID does not support same options as in documentationEvtl. wieder frei @adimiz1 hat das vor 646 Tagen übernommen, und es ist kein Pull Request offen. Offen
cloudinary/cloudinary_java#357 · 2 Kommentare · 1 zugewiesene Person ·
-
Readme - Maven dependencyEvtl. wieder frei @adimiz1 hat das vor 754 Tagen übernommen, und es ist kein Pull Request offen. Offen
cloudinary/cloudinary_java#349 · 1 Kommentar · 1 zugewiesene Person ·
-
cloudinary-http5 ignores system propertiesEvtl. wieder frei @adimiz1 hat das vor 754 Tagen übernommen, und es ist kein Pull Request offen. Offen
cloudinary/cloudinary_java#348 · 2 Kommentare · 1 zugewiesene Person ·
-
Make usage of http clients (apache, OkHttp, Jetty, Asynch) easierEvtl. wieder frei @ManishS6 hat das vor 772 Tagen übernommen, und es ist kein Pull Request offen. Offen
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 25/100
cloudinary/cloudinary_java#343 · 6 Kommentare ·
-
Missing contributing guidelinesEvtl. wieder frei @debnath003 hat das vor 768 Tagen übernommen, und es ist kein Pull Request offen. Offen
cloudinary/cloudinary_java#339 · 2 Kommentare · 1 zugewiesene Person ·
Alle Issues in cloudinary/cloudinary_java
Ähnliche Issues
-
bug(core): skip_nodes.json is missing SELECT and PRE, causing Python and Java to insert separators into dropdown options and preformatted textEvtl. vergeben @Bhumit267 hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 85/100
Maintainer antworten meist innerhalb von 1 Tag
-
ExceptionThrowShouldUseContext: NullPointerException on a catch block inside an annotation typeEvtl. vergeben @Carbon14-48 hat das heute übernommen. Offenapproved
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
checkstyle/checkstyle#22784 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
ASSERT-KTH/depclean#591 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Api537FlareFlameModel.setStackHeightM accepts a negative heightEvtl. vergeben @EvenSol hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 74/100
Maintainer antworten meist innerhalb von 1 Tag