Opened 17 years ago

Closed 17 years ago

Last modified 15 years ago

#504 closed Defect (fixed)

Edit post -> make empty post.

Reported by: Ageless Owned by: davea
Priority: Trivial Milestone: Undetermined
Component: Web - Forums Version:
Keywords: forums Cc:

Description

At this moment in the forums it is possible to make empty posts. Not from the start, as the forum software does not allow that. But if I make a post, post it, then edit that post and delete all contents, then repost it, the empty post goes out without trouble.

So please make a check for an empty post on editing as well.

Change History (6)

comment:1 Changed 17 years ago by Nicolas

I think it wasn't intentional to make the empty post fail from the start.

Why do you think it's needed to disallow empty edited posts? Lots of people do that when they double-post.

comment:2 in reply to:  1 ; Changed 17 years ago by Ageless

Replying to Nicolas:

I think it wasn't intentional to make the empty post fail from the start.

No, that code was put in a long while ago, a check if there's actually a title on the post and if there's any contents.

Why do you think it's needed to disallow empty edited posts? Lots of people do that when they double-post.

That's redundant as one can use the red-x button to request that a moderator come delete the extra post(s).

One can now also make a post, edit the contents and add 145 CR/LFs in there. That is also accepted. But it's not really good. So a check for any characters other than an Enter would be prudent. (Also a check that there's actually anything between [pre]pre tags?)

comment:3 in reply to:  2 Changed 17 years ago by Ageless

Replying to Nicolas:

I think it wasn't intentional to make the empty post fail from the start.

No, that code was put in a long while ago, a check if there's actually a title on the post and if there's any contents.

Additionally, the old code did check if a post was edited as empty. One would still need to leave something in the post, even if it was only a '.'

comment:4 Changed 17 years ago by MikeMarsUK

As a moderator, I've never seen a poster request that a double-post be deleted via the red-X.

Either they leave the duplicate as it is, or they edit it (usually leaving a one-line comment saying 'sorry, double post' or words to that effect).

ENHANCEMENT SUGGESTION 1: Perhaps if they edit it and completely blank it out, it should delete it for them.

ENHANCEMENT SUGGESTION 2: Alternatively, if they edit it and its length shrinks by 90% or more, they could be asked 'do you want to delete this post?'

ENHANCEMENT SUGGESTION 3: Yet another alternative, if a poster makes two identical posts on the same thread within a few seconds, the duplicate post could be automatically deleted. This would sort out the vast majority of duplicate posts.

comment:5 Changed 17 years ago by davea

Resolution: fixed
Status: newclosed

(In [14291]) - user web: if user edits posts and content is empty, delete; fixes #504

comment:6 in reply to:  5 Changed 17 years ago by Nicolas

Replying to davea:

(In [14291]) - user web: if user edits posts and content is empty, delete; fixes #504

Actually deleted, or hidden, still visible to moderators?

Note: See TracTickets for help on using tickets.