Ticket #324 (new defect)

Opened 9 months ago

Last modified 9 months ago

Posting messages to non-existing users wall

Reported by: arto Assigned to: nobody
Priority: normal Milestone: 0.9.2
Component: core Version: 0.9.0
Severity: minor Keywords: comment wall
Cc: misja, ewout, dramirez, rho Patch Included: 1
Review Stage: unreviewed

Description

If going to users profile that doesn't exist, you can post comments there. These are assigned in database to owner id -1. (as set in /profile/index.php line 15)

If user doesn't exist, profile page shouldn't be displayed at all.

Attachments

080304_commentwall_without_user.diff (1.3 kB) - added by rho on 03/04/08 21:26:28.

Change History

03/04/08 21:26:28 changed by rho

  • attachment 080304_commentwall_without_user.diff added.

03/04/08 21:27:55 changed by rho

  • cc set to misja, ewout, dramirez.
  • haspatch set to 1.

03/04/08 21:28:08 changed by rho

  • cc changed from misja, ewout, dramirez to misja, ewout, dramirez, rho.

03/05/08 11:19:58 changed by arto

patch fixes problem partly, however check should be done at profile file (redirect to wwwroot with message that user doesn't exist or something), since this isn't just commentwall issue. It might be confusing to user if he/she goes to non-existing profile.

03/05/08 14:09:50 changed by rho

yes, you are right. This patch it's only related to commentwall.