Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CidsBeanJsonDeserializer IntraObjectCache Bugs #175

Open
p-a-s-c-a-l opened this issue Jun 30, 2016 · 0 comments
Open

CidsBeanJsonDeserializer IntraObjectCache Bugs #175

p-a-s-c-a-l opened this issue Jun 30, 2016 · 0 comments
Assignees
Labels

Comments

@p-a-s-c-a-l
Copy link
Member

p-a-s-c-a-l commented Jun 30, 2016

  • ReferencingObjectAttribute of cached MetaObjects from intraObjectCacheEnabled-CidsBeanJsonDeserializer point to the wrong parent ObjectAttribute => array hierarchy traversal may fail! See also CidsBeanSerialisationTest fails under Java 1.7 #178
  • implicit requirement on ordering of properties in CidsBean JSON in CidsBeanJsonDeserializer: If JSON contains normalised entities ($ref"), CidsBeanJsonDeserializer processes only the first occurrence of the entity if intraObjectCache is enabled. CidsBeanJsonDeserializer does not check if the first occurrence is a complete entity ($self) or just a reference ($ref)!
  • if CidsBeanJsonDeserializer intraObjectCache is disabled but CidsBean JSON contains normalised entities ($ref"), those entities will be created as empty objects!
  • objects with recursive structures (parent object contains itself as child object) are created twice: the child object is created before the parent object is created -> self-cycle is (unintentionally?) avoided
  • Status of Dummy Array Objects is not reset -> Status of Objects is NEW.
  • not fixable see Array Helper Object Information lost in CidsBeanSerializer #165
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant