Incorrect "Can't delete all posts. Some posts are older than 60 days old."


(Dan Dascalescu) #1

I was viewing a user in the Admin panel and noticed this message:

Posts: 1 - Can’t delete all posts. Some posts are older than 60 days old. (The delete_user_max_post_age setting.)

I’ve installed the forum only 9 days ago, and that user’s post correctly shows as being made 16 hours ago in their public profile.


(Jeff Atwood) #2

Any imports or old data?


(Dan Dascalescu) #3

Nope, none yet.

Saw this with two users I granted Admin, then Moderator to, then set Trust level to 4; then I scrolled down on the page and noticed the bogus error.

Didn’t see it with a 3rd user to whom I only granted Moderator.

I should try and come up with a precise repro sequence.


(Jeff Atwood) #4

This is probably a bug, for sure. @neil can you have a quick look tomorrow?


(Neil Lalonde) #5

Yeah that’s a misleading message… You can’t delete admins, so it’s true that you can’t delete, but it shouldn’t be showing that message. I’ll fix.

UPDATE: fixed


(Jeff Atwood) #6