https://bugs.documentfoundation.org/show_bug.cgi?id=172944
Bug ID: 172944
Summary: PostgreSQL JDBC: Master/Detail form fails with "The
column index is out of range: 1, number of columns: 0"
Product: LibreOffice
Version: 25.2.7.2 release
Hardware: All
OS: Windows (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Base
Assignee: [email protected]
Reporter: [email protected]
Created attachment 207930
--> https://bugs.documentfoundation.org/attachment.cgi?id=207930&action=edit
zipfile including minimal_jdbc.odb, parent_test.sql, README.md
# PostgreSQL JDBC Master/Detail Form Issue
## Summary
I am not sure whether this is a bug or a configuration issue. However, I could
reproduce it consistently with a minimal test case, and I would appreciate it
if someone could verify whether this behavior is expected.
LibreOffice Base fails to open a SubForm when a Master/Detail relationship
is defined using the PostgreSQL JDBC driver.
The error is:
```
The data content could not be loaded.
The column index is out of range:
1, number of columns: 0
```
MainForm works correctly.
SubForm works correctly if the Master/Detail link is removed.
This repository contains the minimal reproduction case.
This database was created from scratch.
It contains only one table (public.parent_test)
and one form (ParentTest_f).
No Basic macros, reports, queries or external
libraries are included.
--
You are receiving this mail because:
You are the assignee for the bug.