[CAMPMAN-52] Date trait isn't correctly resolved when performing a REST request Created: 14/Dec/23  Updated: 14/Dec/23  Resolved: 14/Dec/23

Status: Closed
Project: Campaign Manager
Component/s: None
Affects Version/s: 3.1.10
Fix Version/s: 3.1.11

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

Issue Links:
Problem/Incident
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:
[X]* Steps to reproduce, expected, and actual results filled
[X]* Affected version filled
Date of First Response:
Work Started:

 Description   

When using a headless environment, trying to recover a page that's part of a scheduled campaign using the Preview as Visitor feature makes the Date trait resolution fail and always provide the current date as a fallback.



 Comments   
Comment by Teresa Miyar [ 14/Dec/23 ]

This only fixes the nulPointerException

We have checked that the problem comes from the traitCollectorProvider in core module

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