Issues

ZF-5825: Zend_Service_Amazon tracklist fetching

Issue Type: Bug Created: 2009-02-18T04:48:37.000+0000 Last Updated: 2009-02-20T08:17:26.000+0000 Status: Resolved Fix version(s): - 1.7.6 (02/Mar/09)

Reporter: Timo Vildersen (timo.vildersen@gmail.com) Assignee: Jon Whitcraft (sidhighwind) Tags: - Zend_Service_Amazon

Related issues: Attachments:

Description

Fetching tracklist from Amazon search is not working properly when product (album) has more than 1 disc.

<pre class="highlight">
require_once 'Zend/Service/Amazon/Query.php';
$query = new Zend_Service_Amazon_Query('XXXXXXXXXXXX','UK');
$query->Category('Blended')->Keywords("5036742001123")->ResponseGroup('Tracks,Small,Medium,ItemAttributes');
$results = $query->search();
Zend_Debug::dump($results->current()->Tracks);

outputs:

<pre class="highlight">
array(1) {
  [""] => string(14) "Rock Tha House"
}

output should be:

<pre class="highlight">
array(2) {
  [1] => array(11) {
    [0] => string(12) "Ressurection"
    [1] => string(6) "Creeps"
    [2] => string(15) "White lightning"
    [3] => string(14) "Check-out Time"
    [4] => string(6) "Pacman"
    [5] => string(9) "Reach out"
    [6] => string(7) "Syringe"
    [7] => string(14) "Rock Tha House"
    [8] => string(5) "Greed"
    [9] => string(10) "Flightpath"
    [10] => string(8) "Fastlane"
  }
  [2] => array(13) {
    [0] => string(6) "Creeps"
    [1] => string(10) "Flightpath"
    [2] => string(12) "Ressurection"
    [3] => string(9) "Reach out"
    [4] => string(7) "Syringe"
    [5] => string(14) "Check out time"
    [6] => string(15) "White lightning"
    [7] => string(6) "Pacman"
    [8] => string(5) "Greed"
    [9] => string(11) "Bleep bleep"
    [10] => string(12) "Kerb crawler"
    [11] => string(8) "Fastlane"
    [12] => string(14) "Rock Tha House"
  }
}

To resolve this problem: Line 156 in file Zend/Service/Amazon/Item.php is

<pre class="highlight">
But it should be 

Comments

Posted by Matthew Weier O'Phinney (matthew) on 2009-02-18T05:01:18.000+0000

Assigning to Jon Whitcraft.

Posted by Jon Whitcraft (sidhighwind) on 2009-02-20T07:08:52.000+0000

I am not seeing that code in the Zend/Service/Amazon/Item.php file. Can you tell me what version of ZF you are using? You can check in the Zend/Version.php file.

The latest trunk file has this on like 156

<pre class="highlight">
require_once 'Zend/Service/Amazon/Image.php';

Posted by Timo Vildersen (timo.vildersen@gmail.com) on 2009-02-20T07:51:51.000+0000

Version 1.7.5 ... downloaded few days ago.

And line 156 in Zend/Service/Amazon/Item.php IS ```

I can't look what's in trunk ... Code Browser is down at the moment :(

Posted by Jon Whitcraft (sidhighwind) on 2009-02-20T08:09:17.000+0000

Trunk has a lot of other fixes in it that was the release branch has. I'm looking into why the trunk never got synced to the release branch on these fixes.

Posted by Jon Whitcraft (sidhighwind) on 2009-02-20T08:17:26.000+0000

These have been merged into the release branch (r14126) and will come out with the next release.

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts