Skip to content

Always update Asset.etag when Asset is updated. - #650

Closed
adk-swisstopo wants to merge 1 commit into
developfrom
PB-1403-etag
Closed

Always update Asset.etag when Asset is updated.#650
adk-swisstopo wants to merge 1 commit into
developfrom
PB-1403-etag

Conversation

@adk-swisstopo

Copy link
Copy Markdown
Member

In #648 we modified Asset triggers such that etag and updated fields are only updated when the underlying file is modified. However we later determined that etag should be updated when any field is updated.

This change splits the trigger into two: one for the timestamp and one for the ETag. We make the ETag trigger unconditional and update the tests accordingly.

In #648 we modified Asset triggers
such that `etag` and `updated` fields are only updated when the underlying file
is modified. However we later determined that `etag` should be updated when any
field is updated.

This change splits the trigger into two: one for the timestamp and one for the
ETag. We make the ETag trigger unconditional and update the tests accordingly.
@adk-swisstopo

Copy link
Copy Markdown
Member Author

Withdrawing in favour of #651

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant