Apache OpenOffice (AOO) Bugzilla – Issue 12553
edit DB table
Last modified: 2006-05-31 14:29:06 UTC
the created tables cannot be published ! see screenshot salut, marting
Created attachment 5188 [details] table edit problem
Martin, this is no bug - if the database tells that it is not capable of changing existent columns, then OOo does prevent you from doing this. Because you did not tell us anything about the database you are working with, I can only guess, but for instance, MySQL is such a database which does not allow (at least it _tells_ OOo that it does not allow!) to change existing table columns.
mmm... yes, im use a MySQL 3.23.49-max-nt in WinXP(sorry) Q: in the future OO it will be able to modify the columns? Q: in the future OO it will be able to login as root or other register user in MySQL? tnx, marting
> Q: in the future OO it will be able to modify the columns? The only possible option for OOo would be an option (!) like "ignore what the driver actually tells you", then changing columns would either fail with a database error, or succeed in case the database driver told nonsense. Maybe this will be implemented, I am pretty indetermined about this. > Q: in the future OO it will be able to login as root or other > register user in MySQL? No. If the missing privileges of the user which you used for login is everything which prevents you from editing, then login as a different user :). Means: Provided that you logged in as user A, and A does not have privileges to alter tables, then OOo will not automatically log in as root. Instead, you can (and should, consequently) then login as root (in a separate data source) to do such things. In theory, it could be like you suggest (similar to what for instance Suse configuration tools do, which allow to temporarily login as root when needed), but this is hard to do in an abstract and generic way, and as OOo is intended for a lot more databases than MySQL, we need an abstract and generic way ...
auch... I connect myself to MySQL as 'root', with all the privileges!
hmm, it seems I did not make myself clear :) > I connect myself to MySQL as 'root', with all the privileges! the problem is that though you do have all privileges, MySQL doesn't tell us the proper privs. Besides this, I mixed up things a little bit, sorry: when it comes to editing columns, it's not about privileges, but about capabilities: the driver does tell us that it's not _able_ to alter columns after they have been created, and OOo simply respects this. The problem is that the driver is lying :) So even temporarily logging in as another user wouldn't help much, as the driver would keep lying. The only possibility on OOo's side would be to ignore what the driver tells ...
by the way... all the problem is the driver [MySQL ODBC 3.51] ? mmm... is a feature or bug in this driver? :-/
closing
change subcomponent to 'none'