[EXCONTRANS-395] CTSX Google Translator compatibility issue Created: 01/Aug/23  Updated: 21/Sep/23  Resolved: 21/Sep/23

Status: Closed
Project: Content Translation Extended (CTX)
Component/s: Google Translator
Affects Version/s: None
Fix Version/s: 3.4.9

Type: Bug Priority: Neutral
Reporter: David Wei Assignee: Yen Lac Tue
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: 3h
Original Estimate: Not Specified
Environment:

Magnolia 6.2.36


Attachments: PNG File Snipaste_2023-08-01_17-08-05.png    
Template:
Acceptance criteria:
Empty
Task DoD:
[X]* Doc/release notes changes? Comment present?
[X]* Downstream builds green?
[X]* Solution information and context easily available?
[X]* Tests
[X]* FixVersion filled and not yet released
[X]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled

 Description   

When I use CTSX Google Translator(magnolia-content-translation-support-ext-google v3.4.7), some errors in attachments will occur. I did some research,
google-api-client of magnolia-mail-module is v2-2.0, however google-cloud-translate of magnolia-content-translation-support-ext-google is 1.22.0.  The two packages are incompatible.

I think the module or mail moudle need to be updated even though I fix the error in my project by excluding old version google-cloud-translate.

<!-- translation-->
<dependency>
  <groupId>info.magnolia.translation</groupId>
  <artifactId>magnolia-content-translation-support-ext-core</artifactId>
  <version>3.4.7</version>
</dependency>
<!-- CTSX Translator  -->
<dependency>
  <groupId>info.magnolia.translation</groupId>
  <artifactId>magnolia-content-translation-support-ext-google</artifactId>
  <version>3.4.7</version>
  <exclusions>
    <exclusion>
      <groupId>com.google.cloud</groupId>
      <artifactId>google-cloud-translate</artifactId>
    </exclusion>
  </exclusions>
</dependency>
<dependency>
  <groupId>com.google.cloud</groupId>
  <artifactId>google-cloud-translate</artifactId>
  <version>2.22.0</version>
</dependency> 

Generated at Mon Feb 12 00:30:49 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.