My Oracle Support Banner

Catalog Search doesn't support the search criteria on CATALOG_CREATE (Doc ID 2578827.1)

Last updated on MAY 02, 2023

Applies to:

Identity Manager - Version 11.1.2.3.0 and later
Information in this document applies to any platform.

Symptoms

  1. Run the following code:

    Calendar cal = Calendar.getInstance();
    cal.add(Calendar.DAY_OF_MONTH, -7);

    CatalogService catService = client.getService(CatalogService.class);
    SearchCriteria cs1 = new SearchCriteria(CatalogConstants.CATALOG_CREATE, cal.getTime(), Operator.GREATER_EQUAL);
    SearchCriteria cs2 = new
    SearchCriteria(CatalogConstants.CATALOG_ENTITY_TYPE, "Entitlement", Operator.EQUAL);
    SearchCriteria cs3 = new SearchCriteria(cs1, cs2, Operator.AND);
    List<Catalog> cats = catService.findCatalog(cs3, 0, 100, CatalogConstants.CATALOG_ENTITY_NAME, SortCriteria.ASCENDING);
  2. It returns all the Entitlements without the consideration of the CATALOG_CREATE search criteria.

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.