Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Entity subrecord view not updating on changes in record values stored in an array #1310

Closed
christophscheuing opened this issue Jun 9, 2022 · 2 comments

Comments

@christophscheuing
Copy link
Contributor

Describe the bug
Usually when editing a record via the entity subrecord component (inline or in the popup), the changes are automatically shown in the table view of the entity subrecord component. However this is not the case for certain values of a records, probably all those stored not as a direct property of the record but in an array (like authors of a note or linked groups (schools) to a recurring activity).

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'children' in the navigation menu on the left, click on a child to view its details and click on "Notes & Reports".
  2. Click on a note to view and edit its details in a popup.
  3. Change the author of the note (either to another author or by adding a second author).
  4. After clicking on "Save" the new author value(s) a not shown immediately in the "Notes & Reports" table, but only after reloading that child.

Expected behavior
The changes made to fields stored in an array (like author) should instantly take effect in the table view.

Additional context
This problem also affects e.g. the linkedGroups of a recurring activity (in the component yet to be built showing the recurring activities that a specific school is linked to in the details view of that school).

@sleidig sleidig moved this to Triage in All Tasks & Issues Jun 13, 2022
@sleidig sleidig moved this from Triage to In Review in All Tasks & Issues Jul 4, 2022
@sleidig sleidig closed this as completed in feaea34 Jul 5, 2022
Repository owner moved this from In Review to Done in All Tasks & Issues Jul 5, 2022
Repository owner moved this from Priority to Done in Important Fixes & Enhancements Jul 5, 2022
@aam-digital-ci
Copy link
Collaborator

🎉 This issue has been resolved in version 3.8.0-master.5 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@aam-digital-ci
Copy link
Collaborator

🎉 This issue has been resolved in version 3.8.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

3 participants