ZF-2056: Not possible to fetch tracks from amazon via Zend_Service_Amazon when there's more than one disc
Description
The variable gets overwritten when there's more than one disc.
Row 154-158 in Zend_Service_Amazon_Item:
foreach ($result as $disk) {
foreach ($xpath->query('./*/text()', $disk) as $t) {
$this->Tracks[$disk->getAttribute('number')] = (string) $t->data;
}
}
Comments
Posted by Johannes Schill (johannes) on 2007-10-10T12:57:20.000+0000
Ok, this was my first issue, sorry for the [code]. I hope you understand anyway.
Instead of: $this->Tracks[$disk->getAttribute('number')] = (string) $t->data;
It should be: $this->Tracks[$disk->getAttribute('number')][] = (string) $t->data;
Posted by Thomas Weidner (thomas) on 2007-10-15T13:58:32.000+0000
Assigned to Darby
Posted by Wil Sinclair (wil) on 2008-03-21T17:05:34.000+0000
This issue should have been fixed for the 1.5 release.
Posted by Wil Sinclair (wil) on 2008-04-18T13:11:59.000+0000
This doesn't appear to have been fixed in 1.5.0. Please update if this is not correct.
Posted by Benjamin Eberlei (beberlei) on 2008-11-15T08:41:58.000+0000
Will be fixed in 1.8 or as of trunk revision r12666.