| Issue 35: | serialization fails when member is private | |
| 1 person starred this issue and may be notified of changes. | Back to list |
What steps will reproduce the problem? 1. in sample application (SampleApp) set 'name' field of Department to private and add getters and setters 2. serialization fails Error encountered while processing the descriptor for type [class Department] (field name): Annotation for referred field does not exist at com.googlecode.flexxb.annotation.contract::Constructor/addArgument() at com.googlecode.flexxb.annotation.contract::Constructor/parse() at com.googlecode.flexxb.xml.annotation::XmlClass/parse() at com.googlecode.flexxb.annotation.contract::BaseAnnotation() at com.googlecode.flexxb.xml.annotation::Annotation() at com.googlecode.flexxb.xml.annotation::XmlClass() at com.googlecode.flexxb.annotation::AnnotationFactory/getAnnotation() at com.googlecode.flexxb.annotation.parser::MetaParser/parseDescriptor() at DescriptorStore/xmlDescribeType() at DescriptorStore/putDescriptorInCache() at DescriptorStore/put() at DescriptorStore/getDefinition() at DescriptorStore/isCustomSerializable() at com.googlecode.flexxb.core::SerializationCore/serialize() at FlexXBCore/serialize() at com.googlecode.flexxb::FlexXBEngine/serialize() at SampleApp/serialize()[/Users/rbon/Documents/Adobe Flash Builder/SampleApp/src/SampleApp.mxml:38] at SampleApp/___SampleApp_Button1_click()[/Users/rbon/Documents/Adobe Flash Builder/SampleApp/src/SampleApp.mxml:85] What is the expected output? What do you see instead? output should be same as when member field is public. no output generated What version of the product are you using? On what operating system? FlexXB-2_0-09012011 Please provide any additional information below.
Jan 24, 2011
Project Member
#1
alex.id....@gmail.com
Status:
Invalid
|