[IGN-8153] Text box unexpectedly cut off very early with added text?

Using 8.1.26 and the reporting module.

We make reports for quotes. Here's an example of how it looks with the default generated text which comes through fine

image

If I change the default text and add too many characters, it cuts off very early -

image

However there seems to be some tolerance for a few extra characters - it works if I only add CIP

image

Here's the design oft he page -

there are a bunch of text boxes that make up that table, but at worst I guess I would have expected the text to disappear behind the table or stop when it hit it, not stop after 1.5 sentences as in picture 2.

I tried setting the "Overflow behavior" property of the text area in the report designer from "Shrink text to fit" to "None" but I get the same behavior pictured. Anyone experience this before, or have any idea what is going wrong? I've never seen this behavior before.

Interestingly if I remove the <HTML> and <b></b>s it comes through correctly / as expected. I guess the HTML formatting is playing a part in this.

1 Like

That's an interesting detail. I'll try to look at this today, if possible, or at the latest tomorrow and see if I can figure what's going on.

1 Like

I can send you a copy of the report. The problematic field is a parameter so I can also send you one that "works" and one that cuts off very early.

That'll be great. I tried to replicate yesterday evening based on what you posted, and couldn't reproduce.

1 Like

With Brian's help was able to produce and examine the problem.

The problem is as follows:
For text components you can use html to produce styled texts. If the html element used results in a style change at the point where the text wraps, then all the text that normally would be displayed after the wrap no longer appears.

Some examples for clarification:

A1. With "a" bold
With ageing the pseudobulb sheds its leaves and becomes dormant. At this stage it is often called
a backbulb. Backbulbs still hold nutrition for the plant, but then a pseudobulb usually takes over,
exploiting the last reserves accumulated in the backbulb, which eventually dies off, too. A pseudobulb
typically lives for about five years. Orchids without noticeable pseudobulbs are also said to have growths, an individual component of a sympodial plant.

A2. Will display as (text at "a" and following "a" not shown):
With ageing the pseudobulb sheds its leaves and becomes dormant. At this stage it is often called

B1. With "called" bold:
With ageing the pseudobulb sheds its leaves and becomes dormant. At this stage it is often called
a backbulb. Backbulbs still hold nutrition for the plant, but then a pseudobulb usually takes over,
exploiting the last reserves accumulated in the backbulb, which eventually dies off, too. A pseudobulb
typically lives for about five years. Orchids without noticeable pseudobulbs are also said to have growths, an individual component of a sympodial plant.

B2. Will display as (no missing text):
With ageing the pseudobulb sheds its leaves and becomes dormant. At this stage it is often called
a backbulb. Backbulbs still hold nutrition for the plant, but then a pseudobulb usually takes over,
exploiting the last reserves accumulated in the backbulb, which eventually dies off, too. A pseudobulb
typically lives for about five years. Orchids without noticeable pseudobulbs are also said to have growths, an individual component of a sympodial plant.

Workaround:
You can use the <br> element to manually break the text at points where there are style changes close to the point of wrapping.

C1. Adding a <br> element after "called" we can fix the problem illustrated in A1.

<html>With ageing the pseudobulb sheds its leaves and becomes dormant. At this stage it is often called <br>``<b>a<\b> backbulb. Backbulbs still hold nutrition for the plant, but then a pseudobulb usually takes over, exploiting the last reserves accumulated in the backbulb, which eventually dies off, too. A pseudobulb typically lives for about five years. Orchids without noticeable pseudobulbs are also said to have growths, an individual component of a sympodial plant.</html>

C2. Will display correct as:
With ageing the pseudobulb sheds its leaves and becomes dormant. At this stage it is often called
a backbulb. Backbulbs still hold nutrition for the plant, but then a pseudobulb usually takes over,
exploiting the last reserves accumulated in the backbulb, which eventually dies off, too. A pseudobulb
typically lives for about five years. Orchids without noticeable pseudobulbs are also said to have growths, an individual component of a sympodial plant.

2 Likes