-
-
Notifications
You must be signed in to change notification settings - Fork 9.2k
Description
Bug report
Describe the bug
Whenever I add a UID with an attached field to an existing Collection Type and query that Collection Type, the UID returns null even though the field is automatically filled in due to the field it's attached to being filled in. This is because we don't trigger a save in the entry as we technically haven't made a change because it was automatic.. when i add a UID with no attached field and go to the entry view to add content to the UID with no attached field, the save button is visible and i can click it after which both UID show in response.
Steps to reproduce the behavior
- Create a Collection Type with a short text field
- Add some entries to the collection type you just created
- Go to the Content type builder and add a UID which is attached the short text field you made earlier
- Query endpoint corresponding to collection type
- See error
Expected behavior
The Save button should be clickable in entry view because of the UID with an attached field that was automatically populated or by default the save should be triggered when the UID is populated so null isn't returned
System
- Node.js version: 14.16.0
- NPM version: 7.24.1
- Strapi version: 4.0.0-beta.13
- Database: sqlite
- Operating system: Windows 10
Additional context
Add any other context about the problem here.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status