New request
#19801: Junction Relations UI not showing target object selection after upgrade to v1.22.4
We'll provision a sandbox, run an agent against the issue, and open a draft PR. You can pull the branch and iterate from there.
Description After upgrading to Twenty CRM v1.22.4, the junction relations feature no longer behaves as expected in the UI.
While the junction relation toggle works partially (the junction object is hidden as expected), the ability to select and display records from the target object is missing.
This issue did not occur in v1.21.2 with the exact same configuration.
Steps to Reproduce
-
Upgrade Twenty CRM to v1.22.4
-
Enable:
- Junction Relations (Settings → Updates → Lab)
- Advanced Mode
-
Create a many-to-many relationship using a junction object:
- Example: People ↔ Project Assignments ↔ Projects
-
Configure:
- Two Many-to-One relations from junction object
- Enable "This is a relation to a Junction Object" on both sides
- Set correct target relations
-
Open a record (e.g., Person or Project)
Expected Behavior
- The relation field should display linked records from the target object directly (e.g., Projects on Person, People on Project)
- UI should allow selecting/adding related records from the target object
Actual Behavior
-
Junction object is hidden correctly after enabling the toggle
-
However:
- No UI appears to select or link records from the target object
- Relation field appears empty or non-interactive
- Cannot create or manage many-to-many links from either side
Environment
- Twenty CRM version: v1.22.4
- Deployment: Docker-Compose
- Browser: Brave 1.87.192
Regression
- Works correctly in v1.21.2 with the same data model and configuration
- Issue introduced after upgrading to v1.22.4
Additional Notes
- Junction object behavior partially works (hidden as expected)
- Issue seems specifically related to UI rendering or relation selection component
- No visible errors in UI (add console logs if available)
A regression in v1.22.4 prevents the junction-relation UI from rendering target-object selectors, likely caused by a change in how relation metadata or record-field components resolve many-to-many junction displays.
- packages/twenty-front/src/modules/object-record/record-field/meta-types/components/RelationFieldDisplay.tsx
- packages/twenty-front/src/modules/object-record/record-field/meta-types/hooks/useRelationField.ts
- packages/twenty-front/src/modules/object-record/hooks/useCreateManyObjectRecords.ts
- packages/twenty-front/src/modules/object-metadata/hooks/useObjectMetadata.ts
- packages/twenty-front/src/modules/object-record/record-board/components/RecordBoard.tsx