New Ranks & Badges For The Community!
Notice something different? The ranks and associated badges have gone "Star Fleet". See what they all mean HERE
Highlighted
Captain
Captain
342 views

Failed to update tokens for this Bug

The qc log file of our server often shows the message which is listed at the end of this text.
The message always appears when TK_TOKEN contains text which contains the German character 'ß'. The English translation of the complete German text in the message is: A row with duplicate key cannot be inserted into td.TOKENS.Object with unique TK_TOKEN_IDX-Index. All other tokens in this example are working properly (505/506/507, mehrfachkontierung, vollig). Can anyone please explain to me what's going wrong here?

Here is the excerpt from the log file:

com.hp.alm.platform.exception.CTdException

Messages:
Failed to update tokens for this Bug (find similar algorithm); Failed to translate the text tokens to their ids; Failed to add the new tokens to the tokens table. Tokens:[505/506/507, größeren, mehrfachkontierung , vollig] ,TokenIds:[73846, 73847, 73848, 73849]; [Mercury][SQLServer JDBC Driver][SQLServer]Eine Zeile mit doppeltem Schlüssel kann in das td.TOKENS-Objekt mit dem eindeutigen TK_TOKEN_IDX-Index nicht eingefügt werden. Der doppelte Schlüsselwert ist (größeren). Failed SQL: /* ~~QC */ INSERT INTO TOKENS (TK_ID,TK_TOKEN) VALUES ( , );

0 Likes
1 Reply
Highlighted
Admiral
Admiral

I am afraid the issue is the german character , can be that removed or replace by char(germancharacter ascii).


Cordially

"HP Support
If you find this or any post resolves your issue, please be sure to mark it as an accepted solution"
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.