Back

Console : delete date doesn't work

  • 0
  • Tools
smado
11 Oct, 2023, 15:12

Hello!

I have a document with a Datetime attribute that has a value. Now I want to clear that value using the appwrite console. I have tried "clear", "delete" button, "back" button, the input seems to be cleared and clicking on update seems to work with the green confirmation that the document has been updated.

But the date is set to today current date/time.

I'm using 1.4.3

Any help here please ?

TL;DR
The user is experiencing an issue with the Appwrite console not properly deleting the date attribute in a document. They have tried various options like "clear," "delete," and "back" buttons but the date is not being removed and is set to the current date/time. The user is using Appwrite version 1.4.3. There is no solution provided in the thread.
D5
11 Oct, 2023, 15:57

That's possible due to browser cache. Did you have tried refreshing the page?

D5
11 Oct, 2023, 15:57

Not only going back and there again, but clicking refresh button

smado
12 Oct, 2023, 04:40

I have cleared browser cache and used refresh button but with no success

smado
12 Oct, 2023, 04:44
D5
12 Oct, 2023, 06:54

What do you get after running docker compose logs appwrite?

smado
12 Oct, 2023, 17:05

i don't have errors using that command related to the update i'm doing (last error is from yesterday related to something else).

I see something interesting here. In browser network console, i see the patch payload is sent with an empty string while the response is returned with NOW date:

smado
12 Oct, 2023, 21:34

Do you think this is a bug ?

D5
13 Oct, 2023, 09:55

Maybe

D5
13 Oct, 2023, 09:58

What are your network logs?

Drake
15 Oct, 2023, 03:31

So the data looks right...but the console doesn't seem to render empty strings right. It might be good to create an issue for this

smado
16 Oct, 2023, 22:32

The data are not correct, the update hasn't been executed right,because when i make a getDocument (using the sdk) i get the wrong value for that attribute. I'll open a ticket for this

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more