adobe / adobe/da-admin

Create Version API creates a version with the last-modified timestamp

Open
#162 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
6
Forks
17
PR merge metrics
No merged PRs in 30d

Description

We have made an observation that on da, for any document, when we call create version, it will create a version with the timestamp that points to last modified date for the given file. For instance, if I have a file that was last edited 5 days back and I create a version today, the latest version will be having timestamp pointing to 5 days back and not the actual time when the version was created. If we modify again and create a version, it will then have todays timestamp and time of last modified respectively. This might confuse the user, who would be expecting version timestamp to be the time of creation.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the Create Version API behavior with a file whose last modification predates the request, then trace where the version timestamp is assigned. Done means a newly created version reports its creation time rather than the file's last-modified time, including when versions are created repeatedly.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.