SteemJiang bug修复

SteemJiang bug修复

bug.jpg

SteemJiang在修改文章重新上传时有时会出现一个错误(如图所示),RPCError: Assert Exception:equal( com.parent_permlink, o.parent_permlink ): The permlink of a comment cannot change. at new RPCError。错误显示的是“parent_permlink”不能修改!。

文章的父地址是从标签中取的,存入到“category”中,现在的社区过滤也是用这个目录。我在文章修改的时候还是从设置标签中取:parentPermlink = this.tags.trim().split(/\s+/)[0] ,如果你改动了第一个标签,就会触发这个错误!哈,这个错误还挺不容易排察的!毕竟我平时还挺少对文章再次改动的。

把这个参数写死就可以啰:
parentPermlink = post.category


This page is synchronized from the post: ‘SteemJiang bug修复’

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×