Project

General

Profile

Backport(バックポート) #3400

activity/post.json の images パラメータを複数枚の画像アップロードに対応させる

Added by Youichi Kimura about 10 years ago. Updated about 10 years ago.

Status:
Fixed(完了)
Priority:
Normal(通常)
Target version:
Start date:
2012-09-14
Due date:
% Done:

100%


Description

Overview (現象)

#3064 で実装された activity/post.json の images パラメーターは、images と複数形の名前であるにもかかわらず複数枚の画像を指定することが出来ない。そのため、images パラメーターが複数枚の画像を受け付けるように修正を施す。

Spec (仕様)

activity/post.json のアクションにて、images が配列であっても受け付けるように修正する。
また、activity/search.json のレスポンスに追加されている image_url, image_large_url は、アクティビティに複数枚の画像が添付されていることを考慮していないため、これも配列で返すように変更を行う。


Related issues

Related to OpenPNE 3 - Enhancement(機能追加・改善) #3203: activity/post.json の images パラメータを複数枚の画像アップロードに対応させる Won't fix(対応せず) 2012-09-14

Associated revisions

Revision f9ebdfc5 (diff)
Added by Youichi Kimura about 10 years ago

accept multiple images in activity/post.json (fixes #3400, BP from #3203)

(cherry picked from commit 8064b916465136cfdd8056cb23a012e60021145d)

Revision 11d21fc6 (diff)
Added by Youichi Kimura about 10 years ago

add testcases for activity/post.json with multiple images (refs #3400, BP from #3203)

(cherry picked from commit 502a85ad9abae0416c8e574e6e1c1bc7cb10c6c9)

Revision df6447ce (diff)
Added by Youichi Kimura about 10 years ago

add support for multiple activity images in activity/*.json template (fixes #3400, BP from #3203)

(cherry picked from commit b1c33881a08af31718adabe54c97713c23d99084)

Revision 0d6cc658 (diff)
Added by Youichi Kimura about 10 years ago

add helper function for ActivityImage (refs #3203)

(cherry picked from commit 914b96596d77b72d9b1a981d33159d1b4cd82b17)

Revision 8f1bae72 (diff)
Added by Youichi Kimura about 10 years ago

small change of the name in activity/*.json response (fixes #3203)

(cherry picked from commit c7ce43f00f8e5b1c613673b59038692cdb26c317)

History

#1 Updated by Youichi Kimura about 10 years ago

  • Status changed from New(新規) to Pending Review(レビュー待ち)
  • % Done changed from 0 to 50

更新履歴 f9ebdfc5cbb16c252edcab5da44324aa33a8da51 で適用されました。

#2 Updated by Youichi Kimura about 10 years ago

更新履歴 df6447cef0c65d141d3813f35197ed039f11185f で適用されました。

#3 Updated by Shinichi Urabe about 10 years ago

  • Status changed from Pending Review(レビュー待ち) to Pending Testing(テスト待ち)
  • % Done changed from 50 to 70

レビューOKです。

#4 Updated by Mutsumi Imamura about 10 years ago

本チケットの試験は #3075 の試験に含みます。
#3705 の試験が完了したら本チケットも完了と致します。

#5 Updated by Mutsumi Imamura about 10 years ago

  • Status changed from Pending Testing(テスト待ち) to Fixed(完了)
  • % Done changed from 70 to 100

#3075 の試験が完了しましたので本チケットも完了と致します。

Also available in: Atom PDF