Users unable to use search bar, returns undefined
search cancel

Users unable to use search bar, returns undefined

book

Article ID: 227124

calendar_today

Updated On:

Products

Network Observability CA Performance Management

Issue/Introduction

Just upgraded DX NetOps and users are finding now that when they use the search bar for items they were able to previous search for, the search is now coming back with an undefined error in their screen.  Search still works as it did for full administrator users but is failing for normal users.  The users will do a search on a portion of the alias.  They have the role "View Item Display Name or Name Alias".

Here's what they are seeing (happens for score = All or scope = Names):

The error is returned for select users, not all users, when using Global Search on any page in Portal. Some users don't see the problem.

The following was logged in the /opt/CA/PerformanceCenter/PC/logs/PCService.log file when the issue is reproduced:
 
WARN  | qtp521273050-32339       | 2025-05-06 11:36:16,833  | com.ca.im.portal.site.ModelMgr
      | Exception updating model 98098_1 to stage Initialize
java.util.NoSuchElementException: Template properties are not allowed for users. PageID=98098 ModelID=265
ERROR | qtp1238861789-570505     | 2025-05-06 11:36:17,654 | com.ca.im.portal.render.desktop.BaseRenderer                    
      | ViewContainerRenderer(0_24).getChildRenderer() has no child models

Environment

All supported DX NetOps Performance Management releases

Cause

Unknown cause rooted in bad entries in MySql post upgrade.

Resolution

To resolve this run the following MySQL commands on the Portal web server MySql servers CLI. Default paths shown.

  1. Navigate to /opt/CA/MySql/bin.
  2. Enter the MySql prompt with the following command. Enter the MySql DB password when prompted.
    • ./mysql -unetqos -p netqosportal
  3. Run the following to review the rows that will be removed.
    • select * from model_properties where pageid=98098 and tenantid=8 and userid<>0 and modelid=265;
  4. Run the following to review the users that will be impacted. Replace <ID_Number> with the UserID from the select statement output.
    • select Name,UserID from user_definitions where UserID=<ID_Number>;
  5. Run the following to resolve the issue.
    • delete from model_properties where pageid=98098 and tenantid=8 and userid<>0 and modelid=265;
  6. Enter "quit" to exit the MySql prompt.

Once the delete statement is run, the issue will be resolved.