Error message 1333 does not report correct username

Bug #1370733 reported by Roberta Marton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Trafodion
Fix Released
Medium
Roberta Marton

Bug Description

The function CatUser::getEffectiveUserName returns error 1333 if a username associated with the userID was not found. For example: User <username> does not exist. This is the incorrect message.

Should report the error:
ERROR: 20235 Error returned while converting user ID to username, status: <error returned> userid: <userID>
There are a couple of places in this code that have the same issue. Also change misspelled words in the header of this method.

Tags: sql-security
Changed in trafodion:
importance: Undecided → Medium
assignee: nobody → Roberta Marton (roberta-marton)
tags: added: sql-security
Changed in trafodion:
status: New → In Progress
Changed in trafodion:
status: In Progress → Fix Committed
Paul Low (paul-low-x)
Changed in trafodion:
milestone: none → r1.1
Paul Low (paul-low-x)
Changed in trafodion:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.