825 Star 2.8K Fork 1.3K

Discuz / DiscuzX

Merged
!491 修复 开启内存缓存时,forum_forumfield 表没被缓存导致的主题分类消失、版块规则消失、访问权限无效等问题

Stackia:fix-forum-fields-cache Discuz:master

Stackia Created on: 2020-05-16 16:54

仅在开启内存缓存时会遇到此类问题,相关报告
https://keylol.com/t588028-1-1
https://keylol.com/t540533-1-1

定位发现是如果通过 C::t('forum_forum')->fetch($fid) 填充了缓存,此时再使用 C::t('forum_forum')->fetch_info_by_fid($fid) 并不能如预期一样取出 forum_forumfield 中的相关字段。

3 comments, 4 participants 1214169 stackia 1578946413 1090876 lzh593582987 1578939957 1182630 gududeweidao 1578945378 1183879 hmily lcg 1578945413

Show action logs Hide action logs
DiscuzX merged Pull Request 2020-06-03 11:27
DiscuzX check passed 2020-06-03 11:27
Stackia assigned reviewer 湖中沉 2020-05-16 16:54
Stackia assigned reviewer oldhuhu 2020-05-16 16:54
Stackia assigned reviewer monkeye 2020-05-16 16:54
Stackia assigned reviewer Discuz! 2020-05-16 16:54
Stackia assigned reviewer LooTan 2020-05-16 16:54
Stackia assigned reviewer comsenz-service 2020-05-16 16:54
Stackia assigned reviewer DiscuzX 2020-05-16 16:54
PHP
1
https://gitee.com/Discuz/DiscuzX.git
git@gitee.com:Discuz/DiscuzX.git
Discuz
DiscuzX
DiscuzX

Search

102255 3a0e046c 1850385 102255 7aaa926c 1850385