Low code platform for building business apps and workflows in minutes. Supports PostgreSQL, MySQL, MariaDB, MSSQL, MongoDB, Rest API, Docker, K8s, and more 🚀
Create a test app named “Relationship modal supports through tables with composite primary key”.
Add a MySQL data source to the app.
Go to the “Relationships” tab, click “Define Relationships”, select “Many to Many”, choose departments for “From Table”, employees for “To Table”, and dept_emp for “Through Table”, then select dept_no and emp_no as foreign keys and click “Save”.
Observe the following errors:
Failed to load resource: server responded with status 502.
WebSocket connection failed: WebSocket is closed before the connection is established.
Failed to load resource: status 400, “routing.roleId” is required.
Uncaught TypeError: Cannot read properties of undefined (reading '_id').
Expected:
The relationship should be saved, and screens should be created without errors.
Actual:
Multiple errors appear, including WebSocket connection failure (502), failed POST requests (400), and missing roleId property.
Steps to reproduce:
Actual: Multiple errors appear, including WebSocket connection failure (502), failed POST requests (400), and missing roleId property.
Timestamp: 0:00 Video: https://www.loom.com/share/782251ec68b946378de63b2f029e2a51?sid=e47d17f7-d021-4a04-89c2-4e0dba56754a (https://www.loom.com/share/782251ec68b946378de63b2f029e2a51?sid=e47d17f7-d021-4a04-89c2-4e0dba56754a)