Zend Framework

Zend_Soap_Autodisover should only look at public properties

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.7.6
  • Fix Version/s: 1.8.0
  • Component/s: Zend_Soap_Wsdl
  • Labels:
    None

Description

auto reassign after set component and affects version

Activity

Hide
Jordan Raub added a comment -

The 45.3.10.2. Adding complex type information. in the programmers reference guide has this quote

"Class Zend_Soap_Wsdl_Strategy_DefaultComplexType: Enabled by default (when no third constructor parameter is set). Iterates over the public attributes of a class type and registers them as subtypes of the complex object type."

so in Zend/Soap/Wsdl/Strategy/DefaultComplexType.php line 50. the if statement should also check for $property->isPublic() (ZF1.7.6 tag)

right now protected and private variables are making their way into the autodiscovered wsdl

Show
Jordan Raub added a comment - The 45.3.10.2. Adding complex type information. in the programmers reference guide has this quote
"Class Zend_Soap_Wsdl_Strategy_DefaultComplexType: Enabled by default (when no third constructor parameter is set). Iterates over the public attributes of a class type and registers them as subtypes of the complex object type."
so in Zend/Soap/Wsdl/Strategy/DefaultComplexType.php line 50. the if statement should also check for $property->isPublic() (ZF1.7.6 tag) right now protected and private variables are making their way into the autodiscovered wsdl
Hide
Benjamin Eberlei added a comment -

Fixed

Show
Benjamin Eberlei added a comment - Fixed

People

Vote (1)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: