Image is not deleted even when response from CloudinaryDotNet is successful

オープン
#361 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
csharp
領域
api

調査の方向性

まず、issue に示されている public ID とオプションを使って、DelResParams による DeleteResources の呼び出しを再現し、続いて CloudinaryDotNet の DeleteResources エントリポイントを追跡します。成功したレスポンスと、実際の Cloudinary リソースの状態を比較します。SDK が成功レスポンスを報告したときに画像が削除され、その動作が回帰テストでカバーされていれば完了です。

索引モデルが issue の本文から書いたものです。

説明

Bug report for Cloudinary .NET SDK

Before proceeding, please update to latest version and test if the issue persists

Describe the bug in a sentence or two.

…

Issue Type (Can be multiple)

  • Build - Cannot install or import the SDK
  • Performance - Performance issues
  • [X ] Behaviour - Functions are not working as expected (such as generate URL)
  • Documentation - Inconsistency between the docs and behaviour
  • Other (Specify)

Steps to reproduce

Executing

 var deleteParams = new DelResParams()
   {
       PublicIds = new List<string> { "wsv4vxeglcbupvmonsno" },   // Example of publicId
       Type = "upload",
       ResourceType = ResourceType.Image,
       Invalidate = true,
       Tag = "REMOVED"
   };
   
  var result = _cloudinaryClient.DeleteResources(deleteParams);
   // returns OK and Errors = null 

Error screenshots or Stack Trace (if applicable)

…

OS and Version

  • Linux
  • Windows
  • macOS
  • [ X ] MultiPlatform

Versions and Libraries (fill in the version numbers)

  • Cloudinary .NET SDK version - 1.25.0
  • .NET Core - 8.0.0
  • .NET Framework - 0.0.0

Repository

If possible, please provide a link to a reproducible repository that showcases the problem

主要言語
C#
スター
105
フォーク
72
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

cloudinary/CloudinaryDotNet のほかの issue

cloudinary/CloudinaryDotNet の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。