appwrite / appwrite/appwrite

🐛 Bug Report: Cannot update documents created with a null field whose attribute name contains a period

Open
#7,921 0 comments 0 reactions 0 assignees View on GitHub
bug product / databases
Dominant language
TypeScript
Stars
57.4k
Forks
5.7k
Avg merge
14h 50m
Merged PRs (30d)
276

Description

### 👟 Reproduction steps

In the Appwrite Console:
- Create a new collection
- Add a nullable attribute with the name containing a period
- Create a document in the collection with a null value for the above attribute
- Try to update the document data after its creation

### 👍 Expected behavior

The document data should update.

### 👎 Actual Behavior

Throws an error: "Invalid document structure: Unknown attribute"

![image](https://github.com/appwrite/appwrite/assets/57775045/f9565af8-2efe-4f06-a19f-09e3cbab36c3)

### 🎲 Appwrite version

Version 1.5.x

### 💻 Operating system

Linux

### 🧱 Your Environment

Appwrite 1.5.4
Docker 24.0.2
Ubuntu 22.04.2 LTS

### 👀 Have you spent some time to check if this issue has been raised before?

- [X] I checked and didn't find similar issue

### 🏢 Have you read the Code of Conduct?

- [X] I have read the [Code of Conduct](https://github.com/appwrite/.github/blob/main/CODE_OF_CONDUCT.md)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.