Apache OpenOffice (AOO) Bugzilla – Issue 109580
Renaming a database table fails if the table is sorted or filtered
Last modified: 2013-08-07 15:45:41 UTC
See attachment (if I can find how to create an attachment)
Created attachment 68013 [details] Renaming a database fails if it has been sorted
Confirmed w/ OOo 3.2, Ubuntu To reproduce: Open a base file with a table, open the table in a dataview, apply a filter of any type. Close the table. Rename the table. Try to open the table - error, the filter part of the SQL created is referring to the old name. Also this seems related to: http://www.openoffice.org/issues/show_bug.cgi?id=109549
This bug is in there at least since 3.1.1, and I'd bet I'd find it earlier versions, too. So, it does not really qualify for a micro update => targeting to 3.x.
fs->oj: yours by now
Reported this issue to help Oo. I agree it is a low priority bug that can wait until the next formal release.
note: the same problem applies not only to sorting, but also to filtering. It is relatively easily be fixable for sorting (in fact this is what I did in CWS dba34b), but not for filtering, since here some groundwork is missing in our API (more precise, the XSingleSelectQueryAnalyzer needs to deliver comprehensive information about an applied filter, including involved columns, and the names of the tables which those columns belong to). Given that there is a workaround - simply press the "Remove Filter/Sort" button after you attempted to open the table, and the error message popped up -, I retarget the issue to "Later" for the moment, since I don't see it being fixed for 3.x.
.