You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Context and environment
What capabilities were you trying to use?
-monday.storage.instance.setItem(someKey, someVal) where someVal has a newline character
The text was updated successfully, but these errors were encountered:
dvdsmpsn
changed the title
[Bug]
[Bug] monday.storage.instance.setItem(someKey, someVal) silently fails when someVal has a newline character
May 25, 2022
dvdsmpsn
changed the title
[Bug] monday.storage.instance.setItem(someKey, someVal) silently fails when someVal has a newline character
[Bug] monday.storage.instance.setItem(someKey, someVal) silently fails when someVal contains a newline character
May 25, 2022
Hey @dvdsmpsn, I know this is coming almost two years later, but I'm doing some hygiene in these issues. From checking with the team, this issue has already been resolved, so I'm closing it for now. If you have a new issue around the storage methods, feel free to open a new issue
Describe the bug
monday.storage.instance.setItem(someKey, someVal)
silently fails whensomeVal
contains a newline characterSteps to reproduce
monday.storage.instance.setItem(someKey, someVal)
wheresomeVal
has a newline characterExample 1: Expected behavior
Without a newline character, everything is fine.
Example 2: Actual behavior with new line character
This now fails silently because of a new line character, but reports that it has succeeded.
Example 3: A workaround
Dodgy workaround to get around the failure from the new line character
Context and environment
What capabilities were you trying to use?
-
monday.storage.instance.setItem(someKey, someVal)
wheresomeVal
has a newline characterOn which browser/mobile device?
What app was involved?
Additional information
The text was updated successfully, but these errors were encountered: