i18n inserts fails

Questions and answers for all installation-related topics for Servoy products

i18n inserts fails

Postby jos@devoon.nl » Fri Feb 07, 2014 4:57 pm

After importing a .servoy file into an application server the server log has a whole list of entries like:

2014-02-07 15:51:43,007 ERROR [http-8093-1] com.servoy.j2db.util.Debug - Error executing sql: insert into i18messages (message_key, message_language, message_value) values (?, ?, ?) with params: ['ass.tool.afdrukken' ,type: java.lang.String, 'en' ,type: java.lang.String, 'To print' ,type: java.lang.String] [ ]
java.sql.SQLException: Cannot insert the value NULL into column 'i18messagesid', table 'jos_backoffice.dbo.i18messages'; column does not allow nulls. INSERT fails.

Something goes wrong here, but I cannot contral the input queries of this table. Has anyone a clue?

Servoy version 7.3.1 -releaseNumber 2022
MSSQL database
Jos Uitenbogaard
Devoon
User avatar
jos@devoon.nl
 
Posts: 60
Joined: Tue Oct 25, 2011 11:59 am
Location: Reeuwijk NL

Re: i18n inserts fails

Postby boonstrj » Mon Feb 10, 2014 10:12 am

Hi Jos,

I had the same problem. Turns out the i18n table definitions is not automatically included in the export, so the servoy sequence for the 'id' field is not set causing the inserts of the i18n keys to fail. My work around is to include a dummy form that has the i18n table as the datasource so the definition will be included in the export. I had no time to report this bug yet.
Jeroen Boonstra
2Serve-IT

Servoy version 5.2.13/6.1.x/7.1.0
boonstrj
 
Posts: 63
Joined: Mon Jan 07, 2008 11:49 am
Location: Netherlands

Re: i18n inserts fails

Postby jos@devoon.nl » Mon Feb 10, 2014 11:16 am

This seems to help. Tnx Jeroen!
Jos Uitenbogaard
Devoon
User avatar
jos@devoon.nl
 
Posts: 60
Joined: Tue Oct 25, 2011 11:59 am
Location: Reeuwijk NL

Re: i18n inserts fails

Postby deezzub » Tue Feb 11, 2014 7:06 pm

Not the only case, where a dummy form is needed.
deezzub
 
Posts: 328
Joined: Tue May 28, 2013 3:02 pm
Location: Oldenburg, Germany


Return to Installation

Who is online

Users browsing this forum: No registered users and 5 guests