Bug 542617 - Dynamic embedded image in CLOB data not displaying in BIRT report
Summary: Dynamic embedded image in CLOB data not displaying in BIRT report
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: 3.7.1   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Birt-ReportEngine-inbox@eclipse.org CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-10 07:47 EST by Arun K CLA
Modified: 2019-03-28 04:54 EDT (History)
1 user (show)

See Also:


Attachments
CLOB data stored in database (3.58 MB, text/plain)
2018-12-10 07:47 EST, Arun K CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Arun K CLA 2018-12-10 07:47:08 EST
Created attachment 276881 [details]
CLOB data stored in database

Hi, 
We are using Rich Text Editor to input texts , tables and Images and the Rich Text editor is having a provision to import files which also will be having texts,tables and embedded images and on saving the details Rich Text editor is csaving the image part as encoded base64 images and we are saving the same in CLOB in database.While generating the BIRT report the CLOB data which has texts , tables and images , only images are not displaying in report as the same only is encoded in base64 other details text and tables are displaying in report as the same is not encoded in case64 .Request to please check the same and do the needful 

Regarkds
Arun
Comment 1 Henning von Bargen CLA 2019-03-28 04:54:33 EDT
CLOB is not for images.
Use a BLOB for storing images in your database.

As a workaround, you could do the base64 decoding inside a BIRT script to create a Java byte array, then use a dynamic image.
Obviously you need a second column in your database to specify if the CLOB content means text or a base64-encoded image. Use this column to show/hide the Dynamic Text item or the Image item.