Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Jan 8, 2020. It is now read-only.

Fix double registration of a complex type#6223

Merged
Ocramius merged 1 commit into
zendframework:masterfrom
l-x:master
May 15, 2014
Merged

Fix double registration of a complex type#6223
Ocramius merged 1 commit into
zendframework:masterfrom
l-x:master

Conversation

@l-x
Copy link
Copy Markdown
Contributor

@l-x l-x commented May 5, 2014

Zend\Soap\Wsdl\ComplexTypeStrategy\DefaultComplexType::addComplexType()
stores already added classes under the methods argument $type.

Therefore a class with preceding backslash is treated like another complextype
than the same class without given backslash. As a result the xsd:ComplexType
definition is found twice (with exactly the same name) in the generated wsdl.

Zend\Soap\Wsdl\ComplexTypeStrategy\DefaultComplexType::addComplexType()
stores already added classes under the methods argument `$type`.

Therefore a class with preceding backslash is treated like another complextype
than the same class without given backslash. As a result the xsd:ComplexType
definition is found twice (with exactly the same name) in the generated wsdl.
@Ocramius Ocramius added this to the 2.3.2 milestone May 6, 2014
@Ocramius Ocramius self-assigned this May 12, 2014
@Ocramius Ocramius merged commit a29f905 into zendframework:master May 15, 2014
Ocramius added a commit that referenced this pull request May 15, 2014
Ocramius added a commit that referenced this pull request May 15, 2014
Ocramius added a commit that referenced this pull request May 15, 2014
Ocramius added a commit that referenced this pull request May 15, 2014
Ocramius added a commit that referenced this pull request May 15, 2014
gianarb pushed a commit to zendframework/zend-soap that referenced this pull request May 15, 2015
gianarb pushed a commit to zendframework/zend-soap that referenced this pull request May 15, 2015
gianarb pushed a commit to zendframework/zend-soap that referenced this pull request May 15, 2015
gianarb pushed a commit to zendframework/zend-soap that referenced this pull request May 15, 2015
gianarb pushed a commit to zendframework/zend-soap that referenced this pull request May 15, 2015
gianarb pushed a commit to zendframework/zend-soap that referenced this pull request May 15, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants