プロジェクト

全般

プロフィール

Bug(バグ) #429

Not deleted new diary comment message in the information box when the diary is deleted directly (インフォメーション欄に削除した日記の新着コメントお知らせが残る)

Kiwa Sakai14年以上前に追加. ほぼ14年前に更新.

ステータス:
Fixed(完了)
優先度:
Normal(通常)
担当者:
対象バージョン:
開始日:
2010-01-02
期日:
進捗率:

100%

3.6 で発生するか:
Unknown (未調査)
[QA]バグ通知済:
いいえ
3.8 で発生するか:
Unknown (未調査)

説明

概要

未読コメントがある状態で日記を削除した場合、マイホームのインフォメーション欄に「x件の日記に新着コメントがあります!」メッセージが残ってしまう

発生バージョン

opDiaryPlugin 1.1.1

再現手順

  1. メンバーAが日記を作成する
  2. メンバーAが1で作成した日記の日記編集画面を開く
  3. 2 でメンバーAが日記編集画面を開いているうちに、メンバーBが1で作成した日記にコメントする
  4. メンバーAが日記編集画面から日記の削除を行う
  5. メンバーAのマイホームに「x件の日記に新着コメントがあります!」が表示されているので、クリックする
  6. 削除した日記に遷移してしまうため、マイホームのお知らせが消えない

関連するチケット

関連している OpenPNE 3 - Bug(バグ) #451: The record of the FileBin is not deleted when its parent File is deleted (親の File が削除されたときに FileBin のレコードが削除されない) Fixed(完了) 2010-01-07
関連している opDiaryPlugin - Backport(バックポート) #955: Not deleted new diary comment message in the information box when the diary is deleted directly (インフォメーション欄に削除した日記の新着コメントお知らせが残る) Fixed(完了) 2010-01-02
関連している opDiaryPlugin - Backport(バックポート) #956: Not deleted new diary comment message in the information box when the diary is deleted directly (インフォメーション欄に削除した日記の新着コメントお知らせが残る) Fixed(完了) 2010-01-02
関連している opDiaryPlugin - Backport(バックポート) #2801: Not deleted new diary comment message in the information box when the diary is deleted directly (インフォメーション欄に削除した日記の新着コメントお知らせが残る) Invalid(無効) 2010-01-02

関係しているリビジョン

リビジョン 964a0e0b (差分)
Rimpei Ogawa約14年前に追加

added owningSide to DiaryCommentUnread.diary_id (fixes #429)

履歴

#1 Rimpei Ogawa14年以上前に更新

  • ステータスNew(新規) から Accepted(着手) に変更
  • 担当者Rimpei Ogawa にセット
  • 対象バージョンv1.2.0 にセット

#2 Rimpei Ogawa14年以上前に更新

DiaryCommentUnread:
  columns:
    diary_id: { type: integer(4), notnull: true, primary: true }
    ...
  relations:
    Diary:
      foreignType: one
      onDelete: cascade
    ...

diary_id の外部キーが作成されていないのが原因。

#3 Rimpei Ogawa約14年前に更新

  • 対象バージョンv1.2.0 から v1.3.0 に変更

#4 Rimpei Ogawa約14年前に更新

  • ステータスAccepted(着手) から Pending Review(レビュー待ち) に変更
  • 進捗率0 から 50 に変更

更新履歴 964a0e0b4aeebee71ce79c51245f2486b5d24e38 で適用されました。

#5 Rimpei Ogawaほぼ14年前に更新

  • ステータスPending Review(レビュー待ち) から Fixed(完了) に変更
  • 進捗率50 から 100 に変更

#6 Rimpei Ogawaほぼ14年前に更新

  • 題名インフォメーション欄に削除した日記の新着コメントお知らせが残る から Not deleted new diary comment message in the information box when the diary is deleted directly (インフォメーション欄に削除した日記の新着コメントお知らせが残る) に変更

他の形式にエクスポート: Atom PDF