Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
MultiLineItem error with dynamic text items
kallem
Hi,
in my report I have a table with dynamic text items in detail cells. Items are using html content. In the beginning I only had a single item in third detail cell and report worked fine in both report engine and viewer. Then I needed to insert another item in seventh detail cell and still in engine report worked as expected but when I opened report in report viewer I got EngineException targeting the item I just added: "can not re-generate content for MultiLineItem".
After playing a while and trying to figure out what was causing the problem I noticed that if I put items in adjacent detail cells then viewer shows them ok. If they aren't in adjacent cells then last item fails to show. I moved items back to original places and inserted empty dynamic text items in the cells between. After this my report started to show information correctly in the viewer.
Has anyone else noticed or encountered this problem? I don't know whether it is related to my report or viewer as I haven't tested it with another report.
I am using birt runtime 2.6.0.
- Kalle
Find more posts tagged with
Comments
JasonW
Kalle,
This may be a bug. Can you reproduce it with sample db report. What we mainly need is a report that we can run and test.
Jason
kallem
Hi,
I did manage to figure out the problem. Error gets generated because of a bookmark I had assigned for detail cell in a column that is after the columns where dynamic text items are located. Bookmark value is plain text e.g. "Bookmark". Error is generated only when bookmark is set for cell in column after the dynamic text items and when dynamic text items aren't in adjacent cells. Upon error only first dynamic text item in row is shown and rest generate errors. If bookmarks aren't used then no problems exists with dynamic text items.
Problem is only generated by report viewer. Html export by report engine works fine.
Example report design file and xml data source are attached.
- Kalle
JasonW
Any chance you can open a bug for this and post this code and the link to this thread?
Jason
kallem
Yep, I did file a bug.
- Kalle
JasonW
Thanks, can you post the number?
kallem
Bug id is 321287.
- Kalle