Issue 6434 - max text length of text field changed improperly
Summary: max text length of text field changed improperly
Status: CLOSED FIXED
Alias: None
Product: Base
Classification: Application
Component: code (show other issues)
Version: OOo 1.0.0
Hardware: All All
: P2 Trivial (vote)
Target Milestone: OOo 1.1 Beta
Assignee: marc.neumann
QA Contact: issues@dba
URL:
Keywords: needhelp
Depends on:
Blocks:
 
Reported: 2002-07-15 08:04 UTC by Frank Schönheit
Modified: 2006-05-31 14:29 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Frank Schönheit 2002-07-15 08:04:56 UTC
* open a new text document
* insert a text field
* bind the form to Bibliography/biblio
* bind the field to "address"
* set the max text length to 0 (this is expected to dynamically set it to the
length of the underlying column)
* switch off the design mode
* save the document
* re-load the document
* check the max text length property
=> it is set to the length of the address column (50), not to 0 anymore
=> data loss
Comment 1 Frank Schönheit 2002-07-15 08:07:05 UTC
accepting

FS->FS: the problem is that the property is really set to the new
value when the form gets loaded (and restored afterwards when it is
unloaded). So if the document is saved while the form is loaded, a
wrong value is written.
The problem does not happen in the 5.x file format: There, the edit
field itself is responsible for writing, and it knows about the
"faked" property, thus can handle it.
In OpenOffice 1.0 format, the instance saving the document is external
to the components, and does not know about the faked property.
Comment 2 Frank Schönheit 2002-09-25 14:21:03 UTC
adding "needhelp" keyword - perhaps external developers do want to
have a look at this?

Comment 3 Frank Schönheit 2002-12-02 10:01:49 UTC
changing target to 1.1Beta
Comment 4 Frank Schönheit 2003-01-06 10:29:17 UTC
Ocke, can you please care for this one? Thanks.
Comment 5 ocke.janssen 2003-01-06 13:26:43 UTC
Fixed in a next release.

Best regards,


Ocke
Comment 6 ocke.janssen 2003-01-08 14:29:37 UTC
PLease check
Comment 7 ocke.janssen 2003-01-08 14:29:55 UTC
Fixed
Comment 8 marc.neumann 2003-01-10 11:29:22 UTC
fixed in next developer release
Comment 9 marc.neumann 2003-01-10 11:29:46 UTC
verified in next developer release
Comment 10 marc.neumann 2003-02-20 11:09:13 UTC
fixed in public 644 m build
see http://www.openoffice.org/dev_docs/source/644/
Comment 11 hans_werner67 2004-02-02 12:59:21 UTC
change subcomponent to 'none'