Skip to content

Etag doesn't change #57

Closed
Closed
@thisIsTheFoxe

Description

@thisIsTheFoxe

locking/unlocking a file must change its eTag (and get propagated up to root), as otherwise clients will not reload the folder content and thus are not aware of locked state

Originally posted by @tobiasKaminsky in #24 (comment)

I found this while debugging. I assume currently locking a file doesn't change its etag?

(lldb) p metadata.fileName
(String) $R0 = "index.html"
(lldb) p metadata.fileName
(String) $R1 = "scan 22-03-15 10-37-49.pdf"
(lldb) p metadata.etag
(String) $R2 = "42e56559fc5322e74d67f60efe8198ba"
(lldb) p result.etag
(String) $R3 = "42e56559fc5322e74d67f60efe8198ba"
(lldb) p result.lock
(Bool) $R4 = false
(lldb) p metadata.lock
(Bool) $R5 = true

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions