`options` map modified directly
@adimiz1 がすでに取り組んでいます。
2025年7月21日 から。
評価
この issue はまだ評価されていません。
説明
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
- 主要言語
- Java
- スター
- 176
- フォーク
- 113
- 平均マージ
- 9日 20時間
- マージ済み PR(30日)
- 2
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
cloudinary/cloudinary_java のほかの issue
-
Api#resourceByAssetID does not support same options as in documentation再び着手できるかも @adimiz1 が 646 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
cloudinary/cloudinary_java#357 · コメント 2 件 · 担当者 1 名 ·
-
Readme - Maven dependency再び着手できるかも @adimiz1 が 754 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
cloudinary/cloudinary_java#349 · コメント 1 件 · 担当者 1 名 ·
-
cloudinary-http5 ignores system properties再び着手できるかも @adimiz1 が 754 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
cloudinary/cloudinary_java#348 · コメント 2 件 · 担当者 1 名 ·
-
Make usage of http clients (apache, OkHttp, Jetty, Asynch) easier再び着手できるかも @ManishS6 が 772 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
cloudinary/cloudinary_java#343 · コメント 6 件 ·
-
Missing contributing guidelines再び着手できるかも @debnath003 が 768 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
cloudinary/cloudinary_java#339 · コメント 2 件 · 担当者 1 名 ·
cloudinary/cloudinary_java の issue をすべて見る
似ている issue
-
bug(core): skip_nodes.json is missing SELECT and PRE, causing Python and Java to insert separators into dropdown options and preformatted text対応中かも @Bhumit267 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
ExceptionThrowShouldUseContext: NullPointerException on a catch block inside an annotation type対応中かも @Carbon14-48 が今日担当しました。 オープンapproved
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
checkstyle/checkstyle#22784 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
ASSERT-KTH/depclean#591 ·
メンテナーはふだん 1 日以内に返信
-
Api537FlareFlameModel.setStackHeightM accepts a negative height対応中かも @EvenSol が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信