Zend Framework

incorrect constant name used in Zend_Gdata_YouTube_VideoQuery

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.6.0RC2
  • Fix Version/s: 1.5.0
  • Component/s: Zend_Gdata
  • Labels:
    None

Description

VideoQuery.php:70 uses Zend_Gdata_YouTube::STANDARD_RECENTLY_FEATURED instead of Zend_Gdata_YouTube::STANDARD_RECENTLY_FEATURED_URI

Problem reported by groups user:
"I am quering the recently featured video feed and am getting a Fatal
Error. My code is below

$yt = new Zend_Gdata_YouTube();
$query = $yt->newVideoQuery();
$query->setTime('today');
$videoFeed = $yt->getRecentlyFeaturedVideoFeed($query);

Fatal error: Undefined class constant 'STANDARD_RECENTLY_FEATURED' in /
library/Zend/Gdata/YouTube/VideoQuery.php on line 70"

Activity

There are no comments yet on this issue.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: