Enhancement(機能追加・改善) #158
closedトピック・トピックコメントでの画像投稿に対応する
100%
Updated by pnetan almost 15 years ago
- Project changed from OpenPNE3 Plugins to opCommunityTopicPlugin
Updated by Kousuke Ebihara over 14 years ago
- Status changed from New(新規) to Accepted(着手)
- Assignee set to Kousuke Ebihara
- Target version set to 1.0.2
Updated by Shingo Yamada over 14 years ago
Updated by Shingo Yamada over 14 years ago
- r13560 :コミュニティ画像投稿機能開発の差分の取り込み(opCommunityTopicPlugin-100628[git diff fc81fbb569d1a5f12a43
- 元リポジトリ:http://github.com/niryuu/opCommunityTopicPlugin-100628/commits/master
Updated by Shingo Yamada over 14 years ago
Updated by tu nguyen ngoc over 14 years ago
携帯メールからコミュニティトピックコメントの画像投稿機能
元リポジトリ:http://github.com/tunn/opCommunityTopicPlugin-100628
追加した部分:git diff 09033be5c1ea8b88e680
Updated by Minoru Takai over 14 years ago
git clone git://github.com/openpne/OpenPNE3.git
のmasterブランチのソースをインストールして、opCommunityTopicPlugin をアンインストールし、
note-5 にある http://github.com/niryuu/opCommunityTopicPlugin-100628/commits/master
のソースを plugins 下に入れて再インストールした環境のSNSで確認しました。
現状の挙動をPC版で確認してみましたが、トピック作成時に画像を複数追加すると意図しない挙動となったため原因を追っていました。
mysql> select * from community_topic_image; +----+---------+---------+--------+ | id | post_id | file_id | number | +----+---------+---------+--------+ | 1 | 2 | 1 | 1 | | 2 | 2 | 2 | 2 | | 3 | 3 | 3 | 1 | | 4 | 3 | 4 | 2 | | 5 | 3 | 5 | 3 |
画像投稿をすると上記のテーブルに画像の追加分だけレコードが追加され、このレコードであれば、
- topic_id=2 に 画像1,2
- topic_id=3 に 画像3,4,5
が表示されるのが正しいはずですが、動作を確認した限りでは、
- topic_id=1 に 画像1
- topic_id=2 に 画像2
- topic_id=3 に 画像3
- topic_id=4 に 画像4
- topic_id=5 に 画像5
のようになっているようです。
plugins/opCommunityTopicPlugin/apps/pc_frontend/modules/communityTopic/templates/showSuccess.php
のソースを追ってみましたがこの不具合を生じさせている箇所を特定できませんでした。
ここまでの内容を残しておきます。
Updated by tu nguyen ngoc over 14 years ago
PC版コミュニティトピックコメントの画像投稿機能
http://github.com/tunn/opCommunityTopicPlugin-100628/commit/700df9d6b3cb0dd4094b9b41ad4cd358e2527cf3
元リポジトリ:http://github.com/tunn/opCommunityTopicPlugin-100628
追加した部分:git diff 1726cbd9ee015c21da0f
Updated by tu nguyen ngoc over 14 years ago
Minoru Takai は書きました:
git clone git://github.com/openpne/OpenPNE3.git
のmasterブランチのソースをインストールして、opCommunityTopicPlugin をアンインストールし、
note-5 にある http://github.com/niryuu/opCommunityTopicPlugin-100628/commits/master
のソースを plugins 下に入れて再インストールした環境のSNSで確認しました。現状の挙動をPC版で確認してみましたが、トピック作成時に画像を複数追加すると意図しない挙動となったため原因を追っていました。
[...]
画像投稿をすると上記のテーブルに画像の追加分だけレコードが追加され、このレコードであれば、
- topic_id=2 に 画像1,2
- topic_id=3 に 画像3,4,5
が表示されるのが正しいはずですが、動作を確認した限りでは、
- topic_id=1 に 画像1
- topic_id=2 に 画像2
- topic_id=3 に 画像3
- topic_id=4 に 画像4
- topic_id=5 に 画像5
のようになっているようです。
plugins/opCommunityTopicPlugin/apps/pc_frontend/modules/communityTopic/templates/showSuccess.php
のソースを追ってみましたがこの不具合を生じさせている箇所を特定できませんでした。
ここまでの内容を残しておきます。
バグ修正:
http://github.com/tunn/opCommunityTopicPlugin-100628/commit/47e1590f2c090f75fb2be0d89a7355f64319d302
元リポジトリ:http://github.com/tunn/opCommunityTopicPlugin-100628
追加した部分:git diff 700df9d6b3cb0dd4094b
Updated by Shingo Yamada over 14 years ago
以下のリビジョンでtrunkに取り込みました
r13578 / r13580 - r13582
Updated by Kousuke Ebihara over 14 years ago
- Status changed from Accepted(着手) to Fixed(完了)
- Target version changed from 1.0.2 to 1.0.0
- % Done changed from 0 to 100