Is this a bug? Table exist, but not visible in Tables Tab

I ran a test by creating a table using the SQL tool in Base.

CREATE TABLE “DB_ChangeLog”
(
“ID” INTEGER,
“Description” VARCHAR(255)
)

I closed and reopened the database. The table was not visible in the “Tables” tab, nor in the relationship tool.

In the Base SQL tool, I executed the following:
SELECT *
FROM “DB_ChangeLog”

The result was: 1: Command executed successfully. 0 rows in the result set.

So, the table exists, yet it remains invisible.

I unzipped the database, opened the content.xml file, and—within the ‘filter’ section (or <db:table-include-filter>)—I added the following line just before one of the tables already present in that section:
db:table-filter-patternDB_ChangeLog</db:table-filter-pattern>

I saved the file and re-zipped the database.

Upon reopening the database, the table name appeared in the “Tables” tab, making it possible to continue editing it within the editor.

This does not seem right to me. A table should appear in the “Tables” tab regardless of how it was created—whether via SQL or the table editor.

Can anyone else confirm this behavior?

Windows 11 (latest version)
Version: 26.8.1.1 (X86_64)
Build ID: bf6ef2662401c7d6dce671ab4deb26ee0af3a7c1
CPU threads: 8; OS: Windows 11 X86_64 (build 26300); UI render: Skia/Raster; VCL: win
Locale: fr-CA (fr_CA); UI: fr-FR
Calc: CL threaded

If you create a table through Tools → SQL it isn’t visible directly in GUI.
You could do this: Go to tables pane, then View → Refresh Tables
.
Could be you have tested Tools → Table Filter before. If you have chosen specific tables with Table Filter a new table wouldn’t be visible.
.
You won’t need to unzip the Base file for this action.

1 Like

@RobertG, thanks!
.
I hadn’t realized that Base has an option to filter tables via Tools > Table Filters—or perhaps I once knew this and completely forgot. That explains why the table wasn’t appearing. So, there’s really no need to go tinkering with the content.xml file.
.
However, I’ve noticed that Base keeps descriptions in this XML file for tables and columns that no longer exist or have been modified over time. Is this normal?
.
For example:
<db:table-representation db:name=“JT_PersonWebsite”>
db:columns
<db:column db:name=“LegacySource” db:help-message=“for audit, name of the original table (e.g., “JTActeursPURL”)”/>
<db:column db:name=“PersonID” db:help-message=“FK → PT_Person”/>
<db:column db:name=“PersonWebsiteID” db:help-message=“PK → Unique identifier for the relationship”/>
<db:column db:name=“URL” db:help-message=“URLs associated with a person”/>
<db:column db:name=“WebsiteID” db:help-message=“FK → PT_Website”/>
</db:columns>
</db:table-representation>
.
In this table, the “LegacySource” column no longer exists, yet Base still retains a record of it. There are many others like this.
.
Incidentally, only columns that have a description are listed in this file.
.
It seems Base never cleans up this file…

There are some elements, which won’t bee cleaned up. But writing a bug for all this little useless elements? I haven’t used this descriptions for a field of a table in any of the Base files I created.

You’re quite right. I don’t see any need to file a bug report for these unused elements.

In fact, they don’t interfere with how the database functions, even though I initially thought they might. If I hadn’t opened that XML file, I never would have noticed them.

I must admit that the architecture of Base is truly unique—but interesting, nonetheless.

Thanks for your time.