Bug #4669
closed
report layout changes, but text field displays previous content
Added by Oliver Soong almost 15 years ago.
Updated over 14 years ago.
Description
This is at r22494. I create a trivial workflow (SDF only, 1 iteration) and a report with a text field. I enter some text into field and run. The report looks normal. I then go back to the layout, change the text, and run again. The debug output on the console indicates reporting is picking up the previous text, and that's what I see if I view the report. The report layout and viewer re-sync if I run again.
Some more information. This seems to only happen if I only click in the text field once while changing it. Double-clicking a word and typing won't cause problems, but click-and-drag to highlight and typing will.
Actually, it's even weirder. It only seems to happen with click-drag to select when moving from right to left, but not left to right.
So in the text box, enter "old text". Click-drag from right to left to select "text" and type "words". Click-drag from right to left to select "old" and type "new". Run.
I should also point out that Comment 1 is wrong about only clicking once. The double-click seems to cause a left-right highlight.
This sounds like a problem with the text field value not properly being stored in the underlying ReportLayout model.
Debi - will you investigate this?
This was just getting the text from the wrong place. Fixed now.
Original Bugzilla ID was 4669
Also available in: Atom
PDF