Bug(バグ) #2424
トピック検索結果の一覧に表示される画像が No Image になる
Start date:
2011-09-25
Due date:
% Done:
100%
3.6 で発生するか:
Unknown (未調査)
[QA]バグ通知済:
No
3.8 で発生するか:
Unknown (未調査)
opCommunityTopicPlugin 絞込条件:
Description
Related issues
History
#1
Updated by Kiwa Sakai over 11 years ago
- Subject changed from トピック検索結果の to トピック検索結果の一覧に表示される画像が No Image になる
- Description updated (diff)
#2
Updated by Kiwa Sakai over 11 years ago
- Description updated (diff)
#3
Updated by Rimpei Ogawa over 11 years ago
修正パッチです。
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()
#4
Updated by Yuya Watanabe over 11 years ago
- Assignee set to Yuya Watanabe
#5
Updated by Yuya Watanabe over 11 years ago
- Status changed from New(新規) to Pending Review(レビュー待ち)
- % Done changed from 0 to 50
masterに下記コミットでパッチを適用しました.
https://github.com/tejimaya/opCommunityTopicPlugin/commit/8cea6b1cb7f690c957c117eaac1c7b95e297b604
#6
Updated by Yuya Watanabe over 11 years ago
- Target version set to 1.0.3
#7
Updated by Maki Takahashi over 11 years ago
- Status changed from Pending Review(レビュー待ち) to Pending Testing(テスト待ち)
- % Done changed from 50 to 70
レビューOKです。
#8
Updated by isao sano almost 11 years ago
- Status changed from Pending Testing(テスト待ち) to Fixed(完了)
- % Done changed from 70 to 100
- 3.6 で発生するか set to Unknown (未調査)
- 3.4 で発生するか set to Unknown (未調査)
テスト完了致しました。
問題ありませんのでこのチケットをFixed(完了)に致します。