0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

MT5でブログ記事アイテム数が多い場合の不具合

Posted at

MT5でブログ記事アイテムを大量に登録した場合に、<MTEntryAssets> でアイテムが取得できない不具合がある。

mt_entry_summary テーブルの entry_summary_vchar_idx(varchar(255)) がオーバーして、正常な AssetID が保存されてない為なので、mt_entry_summary 参照部分を回避。

Template/Tags/Asset.pm

        #if ( $e->has_summary('all_assets') ) {
        if ( 0 ) {
            @$assets = $e->get_summary_objs( 'all_assets' => 'MT::Asset' );
        }
        else {
            require MT::ObjectAsset;
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?