I have CDI Conversation scoped bean which has field of type StreamedContent (this content should be previewed with Primefaces Extension documentViewer).
Conversation is declared long-running before redirection to the page with documentViewer
I put loggers in getContent() method (CDI bean instance, conversation, and content are logged)
getContent() method is being called 3 times, 2 times in the same bean instance, conversation has id, and content has value. the third time it is new bean instance, conversation id is null, content is null... and documentViewer shows "Missing PDF file".
If I set bean to be session scoped all 3 getContent() calls logged the same insance of bean, same conversation ID and PDF is previewed on the page.
Is it possible to achieve this with conversation scope??
Primefaces extension version: 6.2.8