Ticket #158 (closed 用户报障: 已处理)

Opened 12 years ago

Last modified 12 years ago

审核系统无法恢复已被删除的回帖

Reported by: dingjianyong Owned by: dingjianyong
Priority: 最高级(1) Milestone:
Component: 核心模块 Version:
Keywords: Cc:
Due Date: 19/11/2013

Description

对于一个已经被删除的回帖,审核系统作恢复操作,论坛这边依然无法恢复。

Change History

comment:1 Changed 12 years ago by dingjianyong

经过代码调试,发现我们会根据审核系统传过来的pid,tid,historyat三个字段在post_history表中找回对应的记录,然后进行恢复该回帖。目前发现审核系统传过来的historyat字段与论坛数据库中的historyat字段不一致,导致无法恢复回帖。

两者保存的historyat字段为何不一致,有待审核系统开发同事帮忙进一步排查。

comment:2 Changed 12 years ago by huweiyi

  • Status changed from new to closed
  • Resolution set to 已处理

comment:3 Changed 12 years ago by dingjianyong

根据查看,history字段确实不一致,不一致的原因没找到。但是根据bbs6的做法,在post_history表中找回对应的记录时,只会根据pid和tid来查找最近的一条记录。沿用此做法会确保此功能正常。

Note: See TracTickets for help on using tickets.