Image is not deleted even when response from CloudinaryDotNet is successful

未关闭
#361 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
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. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

cloudinary/CloudinaryDotNet 的其他 Issue

查看 cloudinary/CloudinaryDotNet 的全部 Issue

相似的 Issue

更多 C# Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。