halo-dev / halo-dev/plugin-s3

s3存储桶资源路径加载异常

Open
#166 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
42
Forks
25
PR merge metrics
No merged PRs in 30d

Description

感谢能使用到这么棒的项目,但是我在使用过程中遇到了一个问题,还请得到回复

目前用的腾讯云的COS,策略配置如下,在存储桶下有个 images 文件夹用来存放图片
3

但是遇到个问题,不在 images 文件夹下面的图片也会展示出来,(其实根本没有那些图片,像是把images文件夹下的图片复制了一份到根目录,但是COS存储桶中根目录下并没有那些图片文件)

1 2

导致后台附件库的总数据是存储桶的两倍,一半都是加载失败的情况,当我想要删除这条存储策略重新添加的时候,提示有文件不能删

4

请问这个问题该怎么解决呢?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is named in the report. Start by inspecting the plugin’s storage strategy and attachment-library handling for the configured images prefix, then reproduce the behavior with Tencent COS. Done means root-level listings and deletion checks match the actual bucket contents.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
cloud
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.