[Version API] Do not modify source document on new version creation.
@mhaack is already working on this.
Since Jun 23, 2025.
Assessment
This issue has not been assessed yet.
Description
If possible, the source document should not be modified upon new version creation.
Additional context
It appears that the source document in question is being modified whenever a new version is created. I do not believe this is necessary, but there is some ambiguity on the current implementation.
A source doc has id & version and both of these are UUIDs. My assumption is that the version UUID is some sort of reference to the most recent version. In order to write this version id in the source, it must be updated, which then changes the modified data.
In an ideal world, we don't need this version UUID in the source doc and we can simply list the versions to determine the most recent version. I'm 99.9% sure we don't use this in UI anywhere or expose it in API, so this is an internal only change.
It's worth noting: our versions are noisy. A customer can easily have 1000+ audits and versions for a source document. So listing to find recent (if we even use this anywhere), may not be feasible. But, again... I really don't think we actually use this version UUID for anything. Same with path... seems risky and imprecise for moves... which, maybe we account for and update the path, but I think everything should be based on that source ID.
- Dominant language
- JavaScript
- Stars
- 6
- Forks
- 17
- PR merge metrics
- No merged PRs in 30d
Getting set up
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from adobe/da-admin
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
Similar issues
-
status: waiting triage
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
freeCodeCamp/freeCodeCamp#70412 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Jason-Vaughan/TangleClaw#1884 ·
Maintainers usually reply within 1 day
-
bug good first issue web
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
microsoft/TypeScript#64453 ·
Maintainers usually reply within 1 day
-
self-driving
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day