Project

General

Profile

Backport(バックポート) #2099

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

Added by Shogo Kawahara over 8 years ago. Updated about 8 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 e99136ac (diff)
Added by Shogo Kawahara about 8 years ago

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

History

#1 Updated by Youichi Kimura over 8 years ago

  • Target version changed from 1.3.2 to 1.0.6

#2 Updated by Shogo Kawahara about 8 years ago

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

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

#3 Updated by Shogo Kawahara about 8 years ago

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

Also available in: Atom PDF