[EXCONTRANS-324] Error when processing referenced nodes with no translatable nodes Created: 18/Dec/19  Updated: 26/Oct/20  Resolved: 19/Dec/19

Status: Resolved
Project: Content Translation Extended (CTX)
Component/s: None
Affects Version/s: 2.0.3, 3.0
Fix Version/s: 3.0.1, 2.9.3

Type: Bug Priority: Major
Reporter: Teresa Miyar Assignee: Teresa Miyar
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

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

 Description   

When processing a submission that includes images from dam, we get an error that the document could not be uploaded, internally it gives a NullPointerException on getSourceDocument



 Comments   
Comment by Teresa Miyar [ 18/Dec/19 ]

The problem happens when the referenced item, in this case a dam resource, does not have any field to translate, then, there is no submission item for that element, and getSourceDocument returns null

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