Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Review delete directory operation

Open
#60 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript
Domain
backend

Research direction

Start by locating the delete directory operation and tracing whether it stores a document version before deletion. Then inspect src/storage/version/put.js and the putObjectWithVersion behavior for non-file inputs. Done means delete directory preserves recoverable document content and putObjectWithVersion rejects anything other than files.

Written by the indexing model from the issue text.

Description

The delete directory operation needs to be reviewed.

Normally when a document is deleted, first a version of it is stored, so that the content is kept in case the delete was accidental.
We need to check whether this happens when a document is deleted through delete directory too.

Related to this, we need to ensure that putObjectWithVersion in https://github.com/adobe/da-admin/blob/main/src/storage/version/put.js rejects anything other than files.

Dominant language
JavaScript
Stars
6
Forks
17
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

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.

More from adobe/da-admin

All issues in adobe/da-admin

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.