-
-
Notifications
You must be signed in to change notification settings - Fork 9.2k
Closed
Labels
issue: bugIssue reporting a bugIssue reporting a bugseverity: mediumIf it breaks the basic use of the product but can be worked aroundIf it breaks the basic use of the product but can be worked aroundsource: core:content-managerSource is core/content-manager packageSource is core/content-manager packagestatus: confirmedConfirmed by a Strapi Team member or multiple community membersConfirmed by a Strapi Team member or multiple community members
Description
Bug report
Describe the bug
If an update to an entry of a collection is done and fields are manipulated by a lifecycle hook, the data in the form is not showing the manipulations after saving.
Steps to reproduce the behavior
- add an entry to a collection with fields that are manipulated with a lifecycle hook (beforeUpdate) and save it.
- the form is not showing the changes done by the lifecycle hook, although they are done. They are shown if you exit and re enter the form.
Expected behavior
@soupette mentioned in the forum: "The bug is indeed the following one, we should have an submit success case where we should re populate the form with the data that was just submitted."
System
- Node.js version: 12.18.4
- Strapi version: 3.2.4
Additional context
https://forum.strapi.io/t/reload-data-after-saving-update/548
jatap and iksent
Metadata
Metadata
Assignees
Labels
issue: bugIssue reporting a bugIssue reporting a bugseverity: mediumIf it breaks the basic use of the product but can be worked aroundIf it breaks the basic use of the product but can be worked aroundsource: core:content-managerSource is core/content-manager packageSource is core/content-manager packagestatus: confirmedConfirmed by a Strapi Team member or multiple community membersConfirmed by a Strapi Team member or multiple community members