Ticket #15762

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

Eröffnet am: 2009-03-26 17:04 Letztes Update: 2009-03-26 17:56

Auswertung:
(Anonym)
Verantwortlicher:
(Keine)
Typ:
Status:
Offen
Komponente:
(Keine)
Meilenstein:
(Keine)
Priorität:
7
Schweregrad:
5 - Mittel
Lösung:
Keine
Datei:
Keine

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-Verlauf (2/2 Historien)

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

Dateianhangliste

Keine Anhänge

Bearbeiten

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