Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.

Fix #1926 (Adds UTC version of created_on field to the payload) #1987

Merged
merged 3 commits into from
Sep 25, 2020
Merged

Fix #1926 (Adds UTC version of created_on field to the payload) #1987

merged 3 commits into from
Sep 25, 2020

Conversation

yarick2000
Copy link
Contributor

@yarick2000 yarick2000 commented Sep 23, 2020

This code change fixing suppose to fix the issued described in the following tickets:

Fixes #1926
Fixes https://github.com/directus/app/issues/2834

The created_on field is part of the update request for translations data, but its not converted to UTC when update is processing. It's causing TableGateway to fail when updateWith method is called

This code change fixing suppose to fix the issued described in the following tickets:
#1926
https://github.com/directus/app/issues/2834
The created_on field is part of the update request for translations data, but its not converted to UTC when update is processing. It's causing TableGateway to fail when updateWith method is called
Added additional validation for existence of "created_on" field in payload and only then make an update.
@yarick2000 yarick2000 changed the title Adds UTC version of created_on field to the payload Fix 1926 (Adds UTC version of created_on field to the payload) Sep 24, 2020
@yarick2000 yarick2000 changed the title Fix 1926 (Adds UTC version of created_on field to the payload) Fix #1926 (Adds UTC version of created_on field to the payload) Sep 24, 2020
@rijkvanzanten rijkvanzanten merged commit 67bda0f into directus:master Sep 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

v8.7.2 - Failure when trying to update translations from the parent collection interface
2 participants