[ http://issues.apache.org/jira/browse/WSCOMMONS-23?page=comments#action_12378823 ]
Sanka Samaranayake commented on WSCOMMONS-23: --------------------------------------------- Brian, Say you created a Policy object with an Id and few extensibility attributes. Then if you call policy.clearAttributes(), you will lose all the extensibility attributes plus the give *Id*. I am not too sure whether that is the desired behaviour. I feel that when you call policy.clearAttributes() it should remove other attributes excluding Id , Name .. etc. Comments ? > Fix attribute problems in Test_Policy > ------------------------------------- > > Key: WSCOMMONS-23 > URL: http://issues.apache.org/jira/browse/WSCOMMONS-23 > Project: WS-Commons > Type: Bug > Components: Policy > Reporter: Brian Hulse > Attachments: Test_Policy.txt > > I haven't been consisitent with my model here. I believe that architeched > attributes, like Id, should be treated as other attributes as this will ease > the burden of serialization/deserialization ... which is how the code works > at the moment. However, these tests assume otherwise. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
