Issues

ZF-83: when more than three Author nodes exist

Issue Type: Bug Created: 2006-06-20T23:35:26.000+0000 Last Updated: 2008-12-19T13:54:38.000+0000 Status: Closed Fix version(s): - 0.2.0 (29/Oct/06)

Reporter: Naoto Ishikawa (ishinao) Assignee: Davey Shafik (davey) Tags: - Zend_Service_Amazon

Related issues: - ZF-118

Attachments:

Description

moved from trac's ticket#135

At the node with multiple items like Authors or Actors, when it has more than three items, Zend_Service_Amazon_Item returns invalid data like following.

array( 0 => array( 0 => 'author1', 1 => 'author2' ), 1 => 'author3' )

it will be,

array( 0 => 'author1', 1 => 'author2', 2 => 'author3' )

76c76,80

< $this->{$v->parentNode->tagName} = array($this->{$v->parentNode->tagName}, (string) $v->data);

if (is_array($this->{$v->parentNode->tagName})) { array_push($this->{$v->parentNode->tagName}, (string) $v->data); } else { $this->{$v->parentNode->tagName} = array($this->{$v->parentNode->tagName}, (string) $v->data); }

Comments

Posted by Davey Shafik (davey) on 2006-10-08T04:40:32.000+0000

Fixed

  • Davey

Posted by Wil Sinclair (wil) on 2008-12-19T13:54:38.000+0000

Bookkeeping. Closing old issues and assigning them to the person who ultimately resolved the issue.

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