Issue 8485 - grid date column: formatting lost upon saving an re-loading
Summary: grid date column: formatting lost upon saving an re-loading
Status: CLOSED FIXED
Alias: None
Product: Base
Classification: Application
Component: code (show other issues)
Version: 643
Hardware: PC Windows 2000
: P1 (highest) Trivial (vote)
Target Milestone: OOo 1.0.3
Assignee: Frank Schönheit
QA Contact: issues@dba
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-18 15:11 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-10-18 15:11:47 UTC
* open a new text document
* insert a grid control (no need to bind it to any data source)
* insert a "Date Field" column
* set the formatting of the column to anything except "Standard (short)"
* save the document
* reload the document
=> the format of the date field column is "Standard (short)"

P2, because of data loss
Comment 1 Frank Schönheit 2002-10-18 15:12:15 UTC
accepting
Comment 2 Frank Schönheit 2002-10-18 15:48:19 UTC
discover another problem while examining this:

* new text doc, new grid control therein
* insert a formatted field column
* assign any user-defined format (for instance YYYY+MM+DD)
* save the document
* open it in another OpenOffice.org installation
=> the formatting is lost. When the control and the column are bound
to a database column, you clearly see this.
No matter if the control and the column are bound: it's impossible to
change any property of the column from now on, as the property browser
stays completely empty for this special column.
(from what's happening there in the code, I assume that on non-windows
machines, it will crash due to an access violation which is caught on
windows systems only)
Comment 3 Frank Schönheit 2002-10-18 15:54:38 UTC
update:
it's not even necessary to open the document with the formatted field
column in another installation. It's enough to close OpenOffice.org
(including the quickstarter) and restart, and then load the document
again to get the effects described above.
Changing to P1. This is way too much data loss for my taste.
Comment 4 Frank Schönheit 2002-12-02 10:01:36 UTC
changing target to 1.1Beta
Comment 5 Frank Schönheit 2002-12-20 08:49:03 UTC
FIXED together with bug 8440 for 1.0.3
Comment 6 Frank Schönheit 2003-05-20 11:39:12 UTC
closing
Comment 7 hans_werner67 2004-02-02 12:33:43 UTC
change subcomponent to 'none'