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

Can't add multiple instances in one call #12

Open
dukefoss opened this issue Jul 1, 2019 · 0 comments
Open

Can't add multiple instances in one call #12

dukefoss opened this issue Jul 1, 2019 · 0 comments

Comments

@dukefoss
Copy link
Collaborator

dukefoss commented Jul 1, 2019

Description:
The method "addInstancesJSON" does not add the instances to the case base.

Steps to reproduce:

  1. Add Concept and Case Base with REST API.
  2. Add attributes.
  3. Add instances with method "addInstancesJSON". Method returns true.
  4. Instances are not returned when method "getAllInstancesInCaseBase" is called.

Expected and Actual Result:
Expected result is to get instances with the method "getAllInstancesInCaseBase". Actual result is an empty array.

Note:
Bug probably in class "InstanceServices" and method "convertJSONArray" because: "HashMap<> values" are never put into "HashSet<> ret".

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