Back

Updating Preferences is not working in self hosted web

  • 0
  • Self Hosted
  • Web
sebachuba
17 Jul, 2023, 01:10

I doesn't allow me to delete some preferences... also when you update this converts booleans to string, breaking things

TL;DR
Issue: Updating Preferences is not working in self-hosted web Summary: Users are experiencing issues with updating preferences in the self-hosted web platform. This is causing problems with saving and deleting preferences, as well as converting booleans to strings. Solution: This is a known issue with the console UI. To address this problem, consider changing how preferences are handled in the console. Additionally, review the raw API response to determine if the issue lies in the conversion of booleans to strings.
sebachuba
17 Jul, 2023, 01:12
sebachuba
17 Jul, 2023, 01:12
Drake
17 Jul, 2023, 01:29

What do you mean it doesn't let you delete?

As for boolean, can you look at the raw API response?

sebachuba
17 Jul, 2023, 01:33
  1. I tried to delete le last one, but it doesn't allow me to save
Drake
17 Jul, 2023, 01:33

This is a known issue with the console UI

sebachuba
17 Jul, 2023, 01:34

idk how to show you, because im using the flutter lib

sebachuba
17 Jul, 2023, 01:35

but the pref was saved as boolean as true, but if i updated in the console to false, it change it to an String instead of a bool

Drake
17 Jul, 2023, 01:36

Right...this is just a problem with the console. Since it's input fields, it's all treated as strings.

We probably have to change how we handle preferences entirely in the console

sebachuba
17 Jul, 2023, 01:43

I remember having the "same problem" with Hashicorp Vault web

sebachuba
17 Jul, 2023, 01:43

they "fis this" let us see the json, so we can decide if is a boolean ot a string

sebachuba
17 Jul, 2023, 01:43

this could be a "temporary solution"

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