Actions
Backport(バックポート) #2567
closedトピック検索結果の一覧に表示される画像が No Image になる
Start date:
2011-09-25
Due date:
% Done:
100%
Estimated time:
opCommunityTopicPlugin 絞込条件:
Description
概要¶
トピック検索(/communityTopic/search)の検索結果に画像が表示されるが、コミュニティ画像が登録されているコミュニティのトピックであってもNoImage になります。
コミュニティ画像を表示させるような改善をお願いします。
現象確認バージョン¶
- OpenPNE 3.6RC1
- opCommunityTopicPlugin 1.0.2
- OpenPNE 3.7.0-dev
- opCommunityTopicPlugin 0.9.8
修正パッチ¶
diff --git a/lib/model/doctrine/PluginCommunityEvent.class.php b/lib/model/doctrine/PluginCommunityEvent.class.php index a70d880..91d244f 100644 --- a/lib/model/doctrine/PluginCommunityEvent.class.php +++ b/lib/model/doctrine/PluginCommunityEvent.class.php @@ -112,7 +112,7 @@ abstract class PluginCommunityEvent extends BaseCommunityEvent // for pager public function getImageFilename() { - $this->getCommunity()->getImageFilename(); + return $this->getCommunity()->getImageFilename(); } public function postInsert($event) diff --git a/lib/model/doctrine/PluginCommunityTopic.class.php b/lib/model/doctrine/PluginCommunityTopic.class.php index c4306ff..04df77d 100644 --- a/lib/model/doctrine/PluginCommunityTopic.class.php +++ b/lib/model/doctrine/PluginCommunityTopic.class.php @@ -50,7 +50,7 @@ abstract class PluginCommunityTopic extends BaseCommunityTopic // for pager public function getImageFilename() { - $this->getCommunity()->getImageFilename(); + return $this->getCommunity()->getImageFilename(); } public function getImagesWithNumber()
Updated by Yuya Watanabe about 13 years ago
- Description updated (diff)
- Status changed from Accepted(着手) to Pending Review(レビュー待ち)
- % Done changed from 0 to 50
Updated by Yuya Watanabe about 13 years ago
- Target version changed from 0.9.9 to 0.9.x
Updated by Yuya Watanabe about 13 years ago
stable-0.9.x にコミットされていますが 0.9.9 リリースのため一旦Revert対象とし,Revertを行った後にステータスをPending Fixingに変更することを予定しています. 0.9.9 リリース後, 再度 stable-0.9.x へ適用する必要があります.なお,本チケットにおけるRevert対象のコミットは以下のとおりです.
https://github.com/tejimaya/opCommunityTopicPlugin/commit/415acf10504d9a1c016e0b80511d9e38dbba6a70
参考: #2575 「opCommunityTopicPlugin 0.9.9 のリリースとバンドルをおこなう」
Updated by Yuya Watanabe about 13 years ago
- Status changed from Pending Review(レビュー待ち) to Pending Fixing(修正待ち)
Updated by Yuma Sakata almost 13 years ago
Updated by Yuma Sakata almost 13 years ago
- Target version changed from 0.9.x to 0.9.10
Updated by Yuya Watanabe almost 13 years ago
- Status changed from Pending Fixing(修正待ち) to Pending Review(レビュー待ち)
- % Done changed from 0 to 50
Updated by Kousuke Ebihara almost 13 years ago
- Status changed from Pending Review(レビュー待ち) to Pending Testing(テスト待ち)
- % Done changed from 50 to 70
Updated by Yuma Sakata almost 13 years ago
- Status changed from Pending Testing(テスト待ち) to Fixed(完了)
- % Done changed from 70 to 100
テストOKです。
Actions