Apache OpenOffice (AOO) Bugzilla – Issue 8399
Edit controls allow to set text longer than the max text length (in some circumstances)
Last modified: 2003-03-13 11:11:00 UTC
Sometimes, the edit control (vcl/source/control/edit.cxx) does allow to set a text which is longer than the MaxTextLen specified. In Edit::ImplSetText, there is either ImplInsertText called, which respects mnMaxTextLen. But in case of "if ( mnXOffset || HasPaintEvent() )" being true, the text is set immediately, without checking mnMaxTextLen. Discovered this during investigating bug 6118, where after fixing the original bug in DBA, a strange effect remained, depending on some repaint timing.
Right...
targeting for OOo 1.1 Beta - a consequence of this bug is that under some circumstances, wrong data is displayed in forms - this is worht this target, IMO
...
Same behavior like in ImplInsertText now: Text will NOT be accepted when longer than MaxTextLen.
Reopen for sending to QA
MT->FS: Please verify. Sorry, don't know who in QA could do that...
verified - setting to FIXED in a first step
marking as VERIFIED
As mentioned on the qa dev list on March 5th I will close all resolved <wontfix/duplicate/worksforme/invalid> issues. Please see this posting for details.