Project

General

Profile

Backport(バックポート) #2098

[api] opOpenSocialProfileExport doesn't return birthday when public flag of birthday is '3' and owner is viewer

Added by Shogo Kawahara over 10 years ago. Updated over 10 years ago.

Status:
Fixed(完了)
Priority:
Normal(通常)
Assignee:
-
Target version:
Start date:
2011-05-06
Due date:
% Done:

100%


Description

Overview

opOpenSocialProfileExport doesn't return birthday when public flag of birthday is '3' as private and owner is viewer.

The result of unit test is the following.

not ok 16 - ->getBirthday() returns '1989-01-08' when public flag of birthday is '3' and public flag of age is '1'
#     Failed test (./plugins/opOpenSocialPlugin/test/unit/util/opOpenSocialProfileExportTest.php at line 27)
#            got: ''
#       expected: '1989-01-08'
ok 17 - ->getAge() returns '22' when public flag of birthday is '3' and public flag of age is '1'
not ok 18 - ->getBirthday() returns '1989-01-08' when public flag of birthday is '3' and public flag of age is '2'
#     Failed test (./plugins/opOpenSocialPlugin/test/unit/util/opOpenSocialProfileExportTest.php at line 27)
#            got: ''
#       expected: '1989-01-08'
ok 19 - ->getAge() returns '22' when public flag of birthday is '3' and public flag of age is '2'
not ok 20 - ->getBirthday() returns '1989-01-08' when public flag of birthday is '3' and public flag of age is '3'
#     Failed test (./plugins/opOpenSocialPlugin/test/unit/util/opOpenSocialProfileExportTest.php at line 27)
#            got: ''
#       expected: '1989-01-08'


Related issues

Related to opOpenSocialPlugin - Bug(バグ) #2065: [api] opOpenSocialProfileExport doesn't return birthday when public flag of birthday is '3' and owner is viewer Fixed(完了) 2011-05-06

Associated revisions

Revision 003345f0 (diff)
Added by Shogo Kawahara over 10 years ago

fixed opOpenSocialProfileExport because it doesn't return the birthday when the public flag of birthday is '3' and owner is viewer (fixes #2098, BP from #2065)

History

#1 Updated by Youichi Kimura over 10 years ago

  • Target version changed from 1.3.2 to 1.2.4

#2 Updated by Shogo Kawahara over 10 years ago

  • Status changed from Pending Fixing(修正待ち) to Pending Review(レビュー待ち)

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

#3 Updated by Youichi Kimura over 10 years ago

  • Status changed from Pending Review(レビュー待ち) to Fixed(完了)
  • % Done changed from 50 to 100

Also available in: Atom PDF