0
Help us understand the problem. What are the problem?

More than 5 years have passed since last update.

posted at

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

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;
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
0
Help us understand the problem. What are the problem?