Skip to content

post_id is always null #17

Open
Open
@doug-wade

Description

@doug-wade

I spelunking in my post database to debug an issue, and I found that the post_id is always null.

sqlite> select count(*) from posts;
119
sqlite> select count(*) from posts where post_id is null;
119

I'm on version v2.1.0 using node v20.11.0.

Looking in the code, it seems we're not capturing the response from createPost, which should have the post id on response.post_view.post.id.

I am planning a migration to v2.2.0 in the next couple of weeks, so I'm not certain a backport of the bugfix to the v2.1.x branch is worthwhile unless there are other users of the v2.1.x branch that are being affected by this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions