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

Unsupported MS Type exception but nevertheless types were inserted to PersistencetypeDictionary #585

Open
ZorgCK opened this issue Jun 5, 2023 · 0 comments

Comments

@ZorgCK
Copy link

ZorgCK commented Jun 5, 2023

Environment Details

  • MicroStream Version: 8.0.0
  • JDK version: 11
  • OS: Windows
  • RapidClipse Project, Stripe API v. 22.11.0,

Describe the bug

When a type is not supported by MicroStream you will get a "UnsupportedType" exception after storing the entity.
But after this exception the datatype is already entered the PersistenceTypeDictionary file. This leads to the same exception on any further startup of the storage.

To Reproduce

  1. Create MicroStream storage
  2. Create a Datamodel with a list of "com.stripe.model.Invoice" (Its a third party entity I know, but i stored it not on purpose)
  3. After first try to store an object like this you will get exception because of a "Node" class but all the underlying classes are entered to PersistenceTypeDictionary.

Expected behavior

Not supported datatypes should not entered to PersistenceTypeDictionary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant