Budibase / budibase

Low code platform for building business apps and workflows in minutes. Supports PostgreSQL, MySQL, MariaDB, MSSQL, MongoDB, Rest API, Docker, K8s, and more 🚀
https://budibase.com
Other
22.71k stars 1.57k forks source link

Error Creating Screens #14771

Open qa-wolf[bot] opened 1 month ago

qa-wolf[bot] commented 1 month ago

Steps to reproduce:

  1. Log in to https://yourappurl.com/login (https://yourappurl.com/login) with email budibase+wz20fxb@qawolf.email and password YourPasswordHere
  2. Create a test app named “Relationship modal supports through tables with composite primary key”.
  3. Add a MySQL data source to the app.
  4. 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”.
  5. 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.

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)

linear[bot] commented 1 month ago

BUDI-8729 Error Creating Screens