Incidencia #15762

全投稿を削除すれば、ユーザーのアカウントをなくなる

Abrir Fecha: 2009-03-26 17:04 Última actualización: 2009-03-26 17:56

Informador:
(Anónimo)
Propietario:
(Ninguno)
Tipo:
Estado:
Open
Componente:
(Ninguno)
Hito:
(Ninguno)
Prioridad:
7
Gravedad:
5 - Medium
Resolución:
Ninguno
Fichero:
Ninguno

Details

ユーザーの全投稿を削除すれば、そのユーザーのアカウントを壊れる。ログインできない。Adminで、そのユーザーを表示すれば、全フィールドがブランク。

SQLの修正が必要:

SELECT …

FROM (((users AS a LEFT JOIN

serverfiles AS b ON a.profileImageId = b.serverFileId) LEFT JOIN

serverfiles AS c ON a.backgroundImageId = c.serverFileId) LEFT JOIN

devices AS d ON a.userId = d.userId) LEFT JOIN

statuses AS e ON a.userId = e.senderId

+ AND (e.removedTime = 0 OR e.removedTime IS NULL)

WHERE a.userId = 2

- AND (e.removedTime = 0 OR e.removedTime IS NULL)

ORDER BY e.statusId DESC

LIMIT 0, 1;

Ticket History (2/2 Histories)

2009-03-26 17:04 Updated by: None
  • New Ticket "全投稿を削除すれば、ユーザーのアカウントをなくなる" created
2009-03-26 17:56 Updated by: techmonkeyjp
  • Prioridad Update from 5 - Medium to 7

Attachment File List

No attachments

Editar

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Entrar