My Oracle Support Banner

Autocomplete Does Not Work On Custom (added) Fields (Doc ID 2586304.1)

Last updated on SEPTEMBER 09, 2019

Applies to:

Oracle Communications Unified Inventory Management - Version 7.4.0.0.0 and later
Information in this document applies to any platform.

Symptoms

On : 7.4.0.0.0 version, Other Issues

autocomplete does not work on custom EntityLink fields

 Add EntityLink and Dependent EntityLink CustomChars in any entity Search screen, select EntityLink and try typing on Dependent EL char value, you will see the error in the Logs.

ERROR
-----------------------
Error Code: 907
Call: SELECT * FROM (SELECT CONCAT(CONCAT(CONCAT('oracle.communications.platform.entity.impl.', t0.ENTITYCLASS), '-'), t0.ENTITYID) AS OID, CONCAT(CONCAT(t0.NAME, '-'), t0.ID) FROM CustomObject t0, Specification t1 where CONCAT ('oracle.communications.platform.entity.impl.CustomObjectDAO-',t0.NAME)= ?
 AND (UPPER(t0.NAME) LIKE UPPER('1%') ) ((t1.NAME = 'EL_CO2') AND (t1.ENTITYID = t0.SPECIFICATION)) AND (UPPER(t0.NAME) LIKE UPPER('1%') ) AND ROWNUM < 25 ORDER BY t0.NAME ) test
  bind => [1 parameter bound]
Query: DataReadQuery(sql="SELECT * FROM (SELECT CONCAT(CONCAT(CONCAT('oracle.communications.platform.entity.impl.', t0.ENTITYCLASS), '-'), t0.ENTITYID) AS OID, CONCAT(CONCAT(t0.NAME, '-'), t0.ID) FROM CustomObject t0, Specification t1 where CONCAT ('oracle.communications.platform.entity.impl.CustomObjectDAO-',t0.NAME)= ?
 AND (UPPER(t0.NAME) LIKE UPPER('1%') ) ((t1.NAME = 'EL_CO2') AND (t1.ENTITYID = t0.SPECIFICATION)) AND (UPPER(t0.NAME) LIKE UPPER('1%') ) AND ROWNUM < 25 ORDER BY t0.NAME ) test ")
  at org.eclipse.persistence.internal.jpa.QueryImpl.getDetailedException(QueryImpl.java:387)
  at org.eclipse.persistence.internal.jpa.QueryImpl.executeReadQuery(QueryImpl.java:260)
  at org.eclipse.persistence.internal.jpa.QueryImpl.getResultList(QueryImpl.java:478)
  at weblogic.persistence.QueryProxyImpl.getResultList(QueryProxyImpl.java:130)
  at oracle.communications.platform.persistence.impl.FinderBean.executeQuery(FinderBean.java:1240)
  at oracle.communications.platform.persistence.impl.FinderBean.executeQuery(FinderBean.java:1214)
  at oracle.communications.inventory.api.framework.persistence.impl.InventoryFinderImpl.fetchResult(InventoryFinderImpl.java:304)
  at oracle.communications.inventory.api.characteristic.impl.CharacteristicHelper.getQueryResult(CharacteristicHelper.java:854)
  at oracle.communications.inventory.api.characteristic.impl.CharacteristicHelper.getEntityReferenceValues(CharacteristicHelper.java:764)
  at oracle.communications.inventory.ui.framework.bean.InventoryCharacteristicDetails.getSuggestItems(InventoryCharacteristicDetails.java:125)



STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Add EntityLink and Dependent EntityLink CustomChars in the entity Search screen, select EntityLink and try typing on Dependent EL char value, you will see the error in the Logs.


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
References


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