nextcloud / nextcloud/cdav-library

Having DavObject::etag property writable

Open
#22 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop high question
Dominant language
JavaScript
Stars
72
Forks
16
Avg merge
8h 29m
Merged PRs (30d)
9

Description

@skjnldsv Can you please elaborate again why https://github.com/nextcloud/cdav-library/blob/master/src/models/davObject.js#L57 should be writable here?

Etags are only ever generated on the server and can't be set by the client. And updates will only work if the etag in the If-Match header is correct.

Thx :)

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.

Research direction

Start by reading src/models/davObject.js around line 57 and trace where the etag property is read or assigned in the library. Clarify whether client-side writes are intended, then document the decision or define the agreed behavior and verification needed to consider the issue resolved.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.