Notifications

539 views

Description

After upgrading to Istanbul, the following error is sometimes displayed at the top of the screen randomly when the glide.translate.learn system property is set to false.

java.sql.BatchUpdateException: Duplicate entry 'timeago_word_separator-en' for key 'key'

When the error is displayed, the localhost log contains an error similar to the following: 
2017-05-02 03:29:23 (389) Default-thread-1 E484F5A0DB2A3200118ABC2FFE9619F6 #3028 /navpage.do Parameters ------------------------- 
2017-05-02 03:29:23 (389) Default-thread-1 E484F5A0DB2A3200118ABC2FFE9619F6 *** Start #3,028, path: /navpage.do, user: <username> 
2017-05-02 03:29:23 (522) Default-thread-1 E484F5A0DB2A3200118ABC2FFE9619F6 SEVERE *** ERROR *** Exception during batch statement commit to <instance details>, rolling back (all or nothing): Duplicate entry 'timeago_word_separator-en' for key 'key' 
2017-05-02 03:29:23 (523) Default-thread-1 E484F5A0DB2A3200118ABC2FFE9619F6 SEVERE *** ERROR *** 
java.sql.SQLException: java.sql.BatchUpdateException: Duplicate entry 'timeago_word_separator-en' for key 'key' 
at com.glide.db.StatementBatcher.getSQLException(StatementBatcher.java:412) 
at com.glide.db.StatementBatcher.commitBatch(StatementBatcher.java:384) 
at com.glide.db.StatementBatcher.commitAllOrNothing(StatementBatcher.java:268)

 

Steps to Reproduce

 

Navigate to a Service Portal homepage or query any data in any list view (for example, open incidents). If the glide.translate.learn system property value is set to true, the error randomly might display. 

Note that opening that same page in another tab of the browser might not show the same error.

 

Workaround

Set the property glide.translate.learn system property to false.

Note – Disabling the property will make locating untranslated texts a little less convenient because it will not flag them automatically.

  1. Go to /sys_properties_list.do.
  2. Find the glide.translate.learn system property and set it to false.

For more information on this property and how to identify untranslated strings that were detected, see the product documentation topic Use the translate and learn property.

 

 


Related Problem: PRB742914

Seen In

There is no data to report.

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2018-03-19 12:22:26
Published:2017-06-19