Ticket #255 (closed 用户报障: 已处理)
游戏网后台进行删除勋章操作时报错
| Reported by: | huweiyi | Owned by: | dingjianyong |
|---|---|---|---|
| Priority: | 次要的(4) | Milestone: | |
| Component: | 游戏网论坛 | Version: | |
| Keywords: | Cc: | ||
| Due Date: | 27/02/2014 |
Description
无法成功删除勋章,报“出错了
Change History
Note: See
TracTickets for help on using
tickets.
![(please configure the [header_logo] section in trac.ini)](http://www1.pconline.com.cn/hr/2009/global/images/logo.gif)
由于bbs6与bbs7授勋方式的改变,即bbs6可设置勋章过期时间,而bbs7则由系统默认给定一个足够长的过期时间。
因此,在此次bbs7升级过程中,由于未对旧数据作出处理,而导致现有数据库中bbs7_medal_log表中的expiryat字段,出现null值,致使代码在转换mc主键的encode方法中,抛出空指针。