Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Gordon XLIFF Editor] Fix: Save doesn't work when provider database is enabled #108

Open
Luca-Maritano-EOS opened this issue Sep 23, 2024 · 2 comments
Assignees
Labels
Gordon XliffEditor Related to Gordon XliffEditor need-more-info Some more input, data or info required

Comments

@Luca-Maritano-EOS
Copy link

🐛 Bug Report

When the provider Database is enabled, saving new translations doesn't work

💻 Repro

  1. Insert a Database provider (Connection string Server=BR-LABSSQL1\SQL2016;Database=XliffEditor2_0)
    (The default Connection string Server=(localdb)\mssqllocaldb;Database=XliffEditor works even if the DB doesn't exist)
  2. In the editor change a caption
  3. Save

🤔 Expected Behavior

Save

😯 Current Behavior

The save doesn't work, disabling the provider allows to save the translations.

Product

  • [ X] Gordon XLIFF Editor 3.0.32.0
@Thomas-Torggler-EOS Thomas-Torggler-EOS self-assigned this Sep 24, 2024
@Thomas-Torggler-EOS
Copy link
Contributor

A new version (3.0.33) will soon be available. This will most probably not fix the issue, but at least it will not impede saving of the project in case of an error.

Also, a log is now written in case a provider fails to save it's context. This file is located in %appdata%\EOS Solutions\XLIFF\debuglog.txt. Can you please try again and post the error you get to help finding the cause? Thanks.

@Thomas-Torggler-EOS Thomas-Torggler-EOS added the need-more-info Some more input, data or info required label Sep 24, 2024
@Luca-Maritano-EOS
Copy link
Author

Luca-Maritano-EOS commented Sep 25, 2024

I've updated the XLIFF editor and saving now works correcly.

I've encountered 2 errors:

  • Host unreachable (when I was not connected to the VPN)
    2024-09-25T12:15:15.3998534+02:00 FAIL [Gordon.XliffEditor.Providers.DatabaseProvider] [0] Saving context of provider 3b5b18cd-8472-4d81-9788-0f03c0cbcb10 failedMicrosoft.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)

  • The certificate chain was issued by an authority that is not trusted (with VPN activated)
    2024-09-25T12:18:59.5513971+02:00 FAIL [Gordon.XliffEditor.Providers.DatabaseProvider] [0] Saving context of provider 3b5b18cd-8472-4d81-9788-0f03c0cbcb10 failedMicrosoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - The certificate chain was issued by an authority that is not trusted.)

I have attached the full file.
debuglog.txt

@Stefano-Primo-EOS Stefano-Primo-EOS added the Gordon XliffEditor Related to Gordon XliffEditor label Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Gordon XliffEditor Related to Gordon XliffEditor need-more-info Some more input, data or info required
Projects
None yet
Development

No branches or pull requests

3 participants