Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

[2.1] My draft - showing number 1 although don't have any

I've installed latest stable version. Clean install. I've test it a little.
Today I've noticed that on front-page, right to the link "My drafts" I have number 1 although when I click on it, I don't have any drafts displayed.

Is this bug or?

Regards.

Tagged:

Comments

  • Options
    hgtonighthgtonight ∞ · New Moderator

    Hiya!

    Try visiting http://forums.example.com/dba/counts and see if that fixes it.

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

  • Options

    Hi,

    No, that didn't help. I've found one row in GDN_Draft table although I don't see it on front-end.

    This is export code from that table if that helps:

    INSERT INTO GDN_Draft (DraftID, DiscussionID, CategoryID, InsertUserID, UpdateUserID, Name, Tags, Closed, Announce, Sink, Body, Format, DateInserted, DateUpdated) VALUES (1, NULL, 0, 1, 1, '', '', 0, 0, 0, '<img src="" />', 'Html', '2014-05-01 22:58:30', '2014-05-01 22:58:30');

  • Options
    LincLinc Detroit Admin

    Delete the row manually, then do /dba/counts again.

  • Options

    Done that.
    Now when I click on "My draft" got message "You do not have any drafts." (before it was just title without any message) but still there is number 1 right to link "My drafts"

  • Options
    LincLinc Detroit Admin

    Going to have to edit your user record to change CountDrafts to zero then.

  • Options

    Ok. Done it. It's ok now. Don't know how and why this happened...

  • Options

    @smokvinlist said:
    Ok. Done it. It's ok now. Don't know how and why this happened...

    I wonder if posting and auto-draft got munged (timing issue).

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • Options
    LincLinc Detroit Admin

    @peregrine said:
    I wonder if posting and auto-draft got munged (timing issue).

    Possible. I've seen it happen before; never found a cause, and it's not common. If anyone ever catches it I'd be happy to know.

Sign In or Register to comment.