[CONTDIFF-1] NullPointerException in Module Due to Incorrect Frontify Image Configuration Created: 23/Nov/23  Updated: 28/Nov/23  Resolved: 28/Nov/23

Status: Closed
Project: Content Diff module
Component/s: None
Affects Version/s: None
Fix Version/s: 1.0.1

Type: Bug Priority: Neutral
Reporter: Cass Weber Assignee: Yen Lac Tue
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 0d
Time Spent: 0.25d
Original Estimate: 0.25d

Template:
Acceptance criteria:
Empty
Date of First Response:
Work Started:

 Description   

[Some words/texts have been modified for clarity.]

We have found that when we don't have a Frontify image correctly set in the frontify-media workspace. As a result, the module gives a NullPointerException.

You can fix it here: https://git.magnolia-cms.com/projects/INCUBATOR/repos/content-diff/browse/src/main/java/info/magnolia/content/diff/ContentDiffHandler.java#269



 Comments   
Comment by Cass Weber [ 23/Nov/23 ]

Hi yen.lactue, there's a feedback to your clarification question:

Yes, it happens when you export and import content from one environment to another.
You only export the data of a content “room” for example, but you never export the data in workspace “frontify-media” referenced from the “room”. The incubator module of frontify downloads this data into “frontify-media” from frontify the first time you edit the content if it isn’t there. But now with the diff, we get the null pointer because the data still doesn’t exist.

Comment by Yen Lac Tue [ 24/Nov/23 ]

Thank you so much cweber !

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