[ANALYTICS-404] The connector just throws errors on GoogleDataSupplier Created: 10/Feb/23  Updated: 03/Mar/23  Resolved: 21/Feb/23

Status: Closed
Project: Analytics
Component/s: None
Affects Version/s: 1.2.2
Fix Version/s: 1.2.3

Type: Bug Priority: Neutral
Reporter: Thuy To Assignee: Thuy To
Resolution: Fixed Votes: 0
Labels: None
Σ Remaining Estimate: Not Specified Remaining Estimate: Not Specified
Σ Time Spent: 3d 1h Time Spent: 3d 1h
Σ Original Estimate: Not Specified Original Estimate: Not Specified

Attachments: PNG File image-2023-02-10-14-14-31-163.png     PNG File image-2023-02-10-14-17-13-348.png    
Issue Links:
Cloners
is cloned by ANALYTICS-405 Remove version 1.35.2 of google-api-c... Open
Sub-Tasks:
Key
Summary
Type
Status
Assignee
ANALYTICS-406 Port to master Sub-task Completed Thuy To  
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
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:
Epic Link: AuthorX Maintenance
Sprint: AuthX 28
Story Points: 2
Team: AuthorX
Work Started:

 Description   

Problem:

The connector just throws ERROR lia.analytics.google.datasource.GoogleDataSupplier: Credentials is null or service is not instantiated

Development notes

+ google-api-services-analyticsreporting is using on version 1.21.0, need to upgrade the library of google-api-services-analyticsreporting to the latest version 2.0.0 in pom.

+ Current demo site is died, find another side instead

+ Update the new configuration and credentials on Addon server and wiki page https://wiki.magnolia-cms.com/display/Addon/Analytics+connectors+credentials



 Comments   
Comment by Edwin Guilbert [ 10/Feb/23 ]

I can confirm overriding the google-api-services-analyticsreporting version to 2.0.0 in magnolia bundle 6.2.25 works correctly:

        <dependency>
            <groupId>com.google.apis</groupId>
            <artifactId>google-api-services-analyticsreporting</artifactId>
            <version>v4-rev20211020-2.0.0</version>
         </dependency> 
Comment by Thuy To [ 21/Feb/23 ]

Thank you ebguilbert 

Generated at Sun Feb 11 23:18:33 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.