Open PeterChenTian opened 1 year ago
Hi @PeterChenTian , can you give more details on how to reproduce this please. I am interested in:
Hi @PeterChenTian , can you give more details on how to reproduce this please. I am interested in:
- which repository you are using - I assume this is a native repository (XTDB, in memory or Janus graph)
- Are there particular values of classifications that need to be set up on one or more entities and then searched for?
- What are you doing to get his error, are you using an OMAS, OMRS many thanks , David,
Hi David
entities store in an memory repository
I add classification to some entities , the classification has attribute like groupGUIDs : array< string >
I use such code for search:
List<String> groupIDs = new ArrayList<>();
groupIDs.add(searchValue);
InstanceProperties matchClassificationProperties = addStringArrayPropertyToInstance(groupIDs);
String user = SecurityContextHolder.getContext().getAuthentication().getName();
List<EntityDetail> classification = localRepositoryServicesClient.findEntitiesByClassification(user, null, classificationName, matchClassificationProperties, MatchCriteria.ALL, from, null, null, null, null, pageSize);
Thanks for your reply, Regards, Peter
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 20 days if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 20 days if no further activity occurs. Thank you for your contributions.
Existing/related issue?
No response
Current Behavior
find entities by classification with ArrayPropertyValue like ["searchValue"]
the class OMRSRepositoryContentValidator function countMatchingPropertyValues catch exception message : java.util.regex.PatternSyntaxException: Illegal repetition near index 1 .{ searchValue }. ^
Expected Behavior
find right entites
Steps To Reproduce
No response
Environment
Any Further Information?
No response