Issue 66373 - Saved OpenOffice Base Tables are no more changeable
Summary: Saved OpenOffice Base Tables are no more changeable
Status: CLOSED FIXED
Alias: None
Product: Base
Classification: Application
Component: code (show other issues)
Version: OOo 2.0.2
Hardware: PC Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: dbaneedsconfirm
QA Contact: issues@dba
URL:
Keywords: needmoreinfo, oooqa
Depends on:
Blocks:
 
Reported: 2006-06-12 21:00 UTC by alorom90
Modified: 2013-08-07 15:45 UTC (History)
2 users (show)

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


Attachments
Base document with one table declared with all columns protected from changing (6.39 KB, application/vnd.sun.xml.base)
2006-06-12 21:01 UTC, alorom90
no flags Details
Screenshot of the table structure grayed and not changeable (51.43 KB, image/png)
2006-06-12 22:25 UTC, alorom90
no flags Details
For Regina: OpenOffice Java setting (menu Tools/Options) (42.46 KB, image/png)
2006-06-13 21:34 UTC, alorom90
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description alorom90 2006-06-12 21:00:06 UTC
When I create an odb file (OpenOffice Base document) I can create a new table,
but when I save the table, then the columns are no more changeable. All the
columns declared before saving the table become protected and no more
changeable. Only creating new columns is possible, or deleting existing columns
is possible too, but changing existing columns is not possible.


The steps to reproduce the defect are:
1) create a new OpenOffice Base document (*.odb) based on the internal
   HSQL engine
2) Create a new table with some columns and save the new table
3) Try to change one of the columns just created  ==> is no more possible
4) All the just created columns are protected and no more changeable.
5) I am able only to add new columns, or to delete existent columns
6) Save the table again and the just added columns are protected too.

Every time I add new columns, and I save the table, all the columns became
protected.
Comment 1 alorom90 2006-06-12 21:01:16 UTC
Created attachment 37097 [details]
Base document with one table declared with all columns protected from changing
Comment 2 Regina Henschel 2006-06-12 21:54:14 UTC
What do you want to "change"? I can alter field-name and field-type without
problems. (OOo2.0.3rc5 on WinXP)
Comment 3 alorom90 2006-06-12 22:17:23 UTC
Hi regina,

I'm on Linux Ubuntu Dapper and I can't alter nothing at all.
I can alter everything before save the table, but after no more.
For instance I create a table, and only after a while i will insert comments to
the columns. For me is not possible.
I don't know why, I don't know if this is a bug of the Dapper package, or is a
bug  present only on Linux, but for me is so.

If you need, I can create a little wink tutorial to prove the problem with a
screenshot series.
Comment 4 alorom90 2006-06-12 22:25:39 UTC
Created attachment 37099 [details]
Screenshot of the table structure grayed and not changeable
Comment 5 Regina Henschel 2006-06-12 23:42:28 UTC
question for step 2)
Did you save the whole database too?

Base uses the JRE. Some odd errors occure, if OOo cannot find a proper installed
JRE. Please examine that too.

Otherwise someone with Ubuntu should look at this issue. Do you asked in the
Ubuntu forums yet?
Comment 6 Frank Schönheit 2006-06-13 08:22:01 UTC
This sounds a little bit as if you're running the wrong hsqldb.jar. Please try
to find files with this name on your system, and ensure that the first version
in your CLASSPATH is the one in <installation>/program/classes. (If none is in
your CLASSPATH that's okay, too).

Alternatively, try upgrading your system's hsqldb.jar, if present, to the latest
1.8.0.4.
Comment 7 Mechtilde 2006-06-13 09:27:41 UTC
where do you get your OOo-version from
which version do you ese exactly
Comment 8 alorom90 2006-06-13 21:34:35 UTC
Created attachment 37127 [details]
For Regina: OpenOffice Java setting (menu Tools/Options)
Comment 9 alorom90 2006-06-13 21:55:45 UTC
Oh, how many answers! Thank you all.


My answers to Regina
===================
Did you save the whole database too?
===> yes

Base uses the JRE. Some odd errors occure, if OOo cannot find a proper installed
JRE. Please examine that too.
===> on my PC are installed three JRE. I have attached a screenshot for you that 
     show you my OpenOffice Java setting. I have tried to activate each of the
     three JRE, but the problem remain.
     
Otherwise someone with Ubuntu should look at this issue. Do you asked in the
Ubuntu forums yet?
===> only in the Italian Ubuntu Forum for now, because this problem is a little
     bit complicate to explain in english for me. For now no answer received.



My answers to fs
===================
This sounds a little bit as if you're running the wrong hsqldb.jar. Please try
to find files with this name on your system, and ensure that the first version
in your CLASSPATH is the one in <installation>/program/classes. (If none is in
your CLASSPATH that's okay, too).
===> I have not all understand in your suggestion, but I can say you that Ubuntu
     Dapper Distro have installed the "libhsqldb-java" package with the version
     1.8.0.2-1ubuntu1. More info on this package you can find at this address:

http://packages.ubuntu.com/cgi-bin/search_packages.pl?keywords=libhsqldb-java&searchon=names&subword=1&version=dapper&release=all


Alternatively, try upgrading your system's hsqldb.jar, if present, to the latest
1.8.0.4.
===> I have not tried yet.




My answers to mechtilde
=======================
where do you get your OOo-version from
===> It's the Ubuntu Dapper Distro that include automatically the OpenOffice
     packages. I have only installed the Ubuntu Dapper Distro, and I have
     OpenOffice too.

which version do you ese exactly
===> from the OpenOffice Info About dialog I can read these informations:
     OpenOffice.org 2.0.2
     openoffice.org 2.0.2-2ubuntu12
     
     you can find more information on OpenOffice packages here:
http://packages.ubuntu.com/cgi-bin/search_packages.pl?keywords=openoffice.org&searchon=names&subword=1&version=dapper&release=all
Comment 10 Frank Schönheit 2006-06-14 07:21:55 UTC
> I have not all understand in your suggestion, but I can say you that Ubuntu
> Dapper Distro have installed the "libhsqldb-java" package with the version
> 1.8.0.2-1ubuntu1.

Hmm, 1.8.0.2 should be new enough. (There were older version of HSQL which did
not support changing table fields, thus I supposed you might run such an older
version.) Nonetheless, you might try to remove this package, to see if it is
what causes trouble. If then you can edit table fields, this is still a bug in
OOo :), but at least we then know what's going on.
Comment 11 alorom90 2006-06-15 13:31:34 UTC
Hi fs,

I have made these steps:

1) stopped all OpenOffice tools (quickstart included)
2) downloaded the last HSQLDB version 1.8.0.4 from hsqldb.org
3) renamed the currently installed "hsqldb-1.8.0.2.jar" to
   "hsqldb-1.8.0.2_old.jar"
4) started OpenOffice Base, opened my database, and tried to access the tables.
   ===> OpenOffice Base return an error saying that no hsqldb driver is present;
   that's good: openoffice search really for this binary!
5) copied the new "hsqldb-1.8.0.4.jar" to the right folder and renamed to
   "hsqldb-1.8.0.2.jar", so my OpenOffice installation will find the driver
   with the older name, but the version is newer.
6) restarted OpenOffice, tried to access the tables, but the problem is still
   present. No way for me to alter existent tables.

Have you any other suggestion?
Comment 12 Frank Schönheit 2006-06-15 14:06:03 UTC
Excellent triaging, thank you! Unfortunately, not with the desired result ...
No, sorry, no other idea from my side then :(
Comment 13 Mechtilde 2006-06-26 13:32:50 UTC
Do you use OOo on a 64-bit machine?

there is no official 64-bit version of OOo.

What a Java-Version do you use? Maybe you should use the 32-bit version of JRE

Mechtilde
Comment 14 alorom90 2006-06-26 18:18:16 UTC
Hi Mechtilde,

absolutely no, I don't use a 64-bit version.
I use a Dapper i386 Distro on my Laptop that is a 3 years old Dell Inspiron
5150. All is 32-bit only on my system.

You can see the JRE versions installed on my system in the
"OpenOffice.org-Java.png" attachment to this issue.


NJ
Comment 15 alorom90 2006-07-02 20:18:11 UTC
Hi to all,

finally I have tried the last chance: uninstall completely the module OpenOffice
Base, and the install it again.
This time I have success!!

I don't know why, but now I can alter my tables! 

So my problem is resolved and this issue can be closed.

Thank you to all for the help
NJ
Comment 16 christoph.lukasiak 2006-07-05 09:21:45 UTC
close