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

Property search results after initializing paginationcontext gives search results with some missing values #297

Closed
Megala21 opened this issue Nov 22, 2017 · 0 comments · Fixed by #298

Comments

@Megala21
Copy link
Contributor

Description:
Doing a property search on governance registry gives results with missing values, if the pagination context is initiated before the search.

Suggested Labels:
Bug

Suggested Assignees:
N/A

Affected Product Version: 4.7.0

OS, DB, other environment details and versions: N.A

Steps to reproduce:

  1. Add two registry resources wihich has the value "test" for the attribute "overview_name"
  2. For those two registry resources, add a property "publisher_roles" with the value "admin"
  3. After that initialize the PaginationContext with the sortBy attribute "overview_name"
  4. Call the GovernanceUtils.findGovernanceArtifacts(String criteria, registry, mediaType) - In this criteria should be "publisher_roles=(admin)"
  5. The result will only contain 1 governance artifact, but if the search works correctly both of the above artifacts should be returned.

Related Issues:
N/A

Megala21 added a commit to Megala21/carbon-governance that referenced this issue Nov 22, 2017
@Megala21 Megala21 changed the title Property search results after paginationcontext init gives search results with some missing values Property search results after initializing paginationcontext gives search results with some missing values Nov 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant