#27
Editing a post without a title stores string 'None' instead of null
Status: closedSummary
After editing a post that has no title, the title field is saved as the string 'None' instead of being stored as null in the database. This occurs despite Pydantic validation and cleaning being applied.
Steps to Reproduce
- Create a post without a title.
- Edit the post (e.g., change other fields) and save.
- Observe the title field in the database.
Expected Behaviour
The title should remain null in the database when no title is provided.
Actual Behaviour
The title is stored as the string 'None'.
Environment
Not provided.
Reported by retoor via DevPlace.
Updates & comments
No updates yet.
Log in to comment.