Zend Framework

userShow() functionality breaks if username is passed as the argument

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.9.3
  • Fix Version/s: 1.9.4
  • Component/s: Zend_Service_Twitter
  • Labels:
    None

Description

see ZF-7667 - due to changes related to validating the Twitter Service's "big integer", the passed argument is now filtered using "_validInteger" in "Zend_Service_Twitter" - this, however, will return "0" everytime a screen name is submitted to this function. Thus, userShow() is not able to handle screen names as an argument anymore.

Activity

Hide
Thorsten Suckow-Homberg added a comment -

The same goes for "friendshipExists", where _validInteger won't let any screen name through. Shame on you, dev!

Show
Thorsten Suckow-Homberg added a comment - The same goes for "friendshipExists", where _validInteger won't let any screen name through. Shame on you, dev!
Hide
Thorsten Suckow-Homberg added a comment -

...and friendshipDestroy/create... the list goes on and on

Show
Thorsten Suckow-Homberg added a comment - ...and friendshipDestroy/create... the list goes on and on
Hide
Jon Whitcraft added a comment -

This was an over site on my part. I have since fixed the regression and have added a unit test to gaurd against further breakage. This was merged into the release branch with r18495.

Show
Jon Whitcraft added a comment - This was an over site on my part. I have since fixed the regression and have added a unit test to gaurd against further breakage. This was merged into the release branch with r18495.
Hide
Thorsten Suckow-Homberg added a comment -

Thx!

Show
Thorsten Suckow-Homberg added a comment - Thx!

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: