{"issue":{"created_at":"2011-11-21T16:43:17Z","state":"open","updated_at":"2011-11-22T09:29:52Z","user":{"gravatar_id":"68612aaa5ff45df4d2fcda24d9854a63","id":1050825,"url":"https://api.github.com/users/getme","login":"getme","avatar_url":"https://secure.gravatar.com/avatar/68612aaa5ff45df4d2fcda24d9854a63?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":4,"body":"Hello\r\nGot strange issue today,\r\n\r\nI have an entity \"Category\" and association \"CategoryImage\"\r\nCategory can have many CategoryImages\r\n\r\n```php\r\nclass Category {\r\n    /**\r\n     * @Soap\\ComplexType(\"MyBundle\\Entity\\CategoryImage[]\", nillable=true)\r\n     * \r\n     * @var MyBundle\\Entity\\CategoryImage\r\n     */\r\n    private $images;\r\n}\r\n```\r\nwhat is strange is first call returns correct result Category & CategoryImages but next calls return only Category with emty images. If I change wsdl url to app_dev.php I get correct result again (Category & images).\r\nwhat can be a problem? The webservice itself returns correct object with images I checked it. The wsdl caching is off for client.\r\n(WSDL_CACHE_NONE). The symfony app cache was cleared.\r\n","assignee":null,"id":2306486,"labels":[],"number":18,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"title":"Issue with collection associations","html_url":"https://github.com/BeSimple/BeSimpleSoapBundle/issues/18","closed_at":null,"url":"https://api.github.com/repos/BeSimple/BeSimpleSoapBundle/issues/18","milestone":null},"action":"created","comment":{"created_at":"2011-11-22T09:29:52Z","updated_at":"2011-11-22T09:29:52Z","user":{"gravatar_id":"68612aaa5ff45df4d2fcda24d9854a63","id":1050825,"url":"https://api.github.com/users/getme","login":"getme","avatar_url":"https://secure.gravatar.com/avatar/68612aaa5ff45df4d2fcda24d9854a63?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"Hello Francis,\r\nit doesn't look like a lazy loading issue, I tried that actually (logged this before ->setReturnValue() ). the returning response is correct\r\nCategory Entity with populated CategoryImages is returned, but it's lost afterwards.\r\nI will create a complete test case and post it soon, Thanks","id":2832225,"url":"https://api.github.com/repos/BeSimple/BeSimpleSoapBundle/issues/comments/2832225"}}