404 responses are still written to the cache
@michalkcloudinay がすでに取り組んでいます。
2021年3月15日 から。
評価
この issue はまだ評価されていません。
説明
Bug report for Cloudinary iOS SDK
Before proceeding, please update to latest version and test if the issue persists
Describe the bug in a sentence or two.
When the cloudinary URL request fails with a 404, the downloadImageAndCacheIt function still attempts to write a 0 byte file to the cache.
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
Simply call CLDDownloader.fetchImage(_:_:completionHandler:) with an invalid URL.
Error screenshots or Stack Trace (if applicable)
The following error is raised:
{
"error_code" = "-7001";
"error_domain" = "com.cloudinary.error";
"user_info" = {
NSLocalizedFailureReason = "Failed creating an image from the received data.";
};
There was no received data.

Build/Dependency management
[x] Cocoa-Pods
[ ] Carthage
[ ] Manual import
[ ] Other (Specify)
Is the issue reproducible only on a specific device?
[x] No
[ ] Yes (specify model + iOS version)
Versions and Libraries (fill in the version numbers)
iOS Cloudinary SDK version - 2.9.0
OSX (on the dev environment) - 10.15.6 (19G73)
XCode - 12.1 (12A7403)
Swift - 5
Target iOS - 14.1
- 主要言語
- Swift
- スター
- 169
- フォーク
- 107
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
cloudinary/cloudinary_ios のほかの issue
-
Memory Leaks and Retain Cycles while using Upload with Cloudinary SDK再び着手できるかも @adimiz1 が 713 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
cloudinary/cloudinary_ios#441 · コメント 1 件 · 担当者 1 名 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
cloudinary/cloudinary_ios#439 ·
-
Add MD5-Header option to CLDUploadRequestParams再び着手できるかも @adimiz1 が 1458 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
cloudinary/cloudinary_ios#390 · コメント 1 件 · 担当者 1 名 ·
-
Unable to upload photo, uploadPrefix, unrecognized selector再び着手できるかも @adimiz1 が 1266 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンbug
cloudinary/cloudinary_ios#369 · コメント 2 件 · 担当者 1 名 ·
-
Does not compile for tvOS再び着手できるかも @GiniAppsPartners が 2026 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
cloudinary/cloudinary_ios#337 · コメント 1 件 · 担当者 2 名 ·
cloudinary/cloudinary_ios の issue をすべて見る
似ている issue
-
cua-driver diagnose: one-line help says "install and permission report", which is macOS-specificオープン
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
easy
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 5 日以内に返信
-
15-minutes 5-minutes algorithm any-language beginner-friendly c cpp csharp easy go good first issue hacktoberfest help wanted java javascript kotlin python rust swift typescript
難易度 1/5 1時間未満 初心者へのやさしさ 68/100
Huerte/algo-solutions-python#260 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100