Bug #4669
closedreport layout changes, but text field displays previous content
0%
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.
Updated by Oliver Soong almost 15 years ago
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.
Updated by Oliver Soong almost 15 years ago
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.
Updated by Oliver Soong almost 15 years ago
I should also point out that Comment 1 is wrong about only clicking once. The double-click seems to cause a left-right highlight.
Updated by ben leinfelder almost 15 years ago
This sounds like a problem with the text field value not properly being stored in the underlying ReportLayout model.
Debi - will you investigate this?
Updated by debi staggs over 14 years ago
This was just getting the text from the wrong place. Fixed now.