Hi Ali-Bazzi, thanks again for thinking with me. I’ve checked what you said. The funny thing is that the second time I save the student, it updates the chatroom information. It feels like the “update Chatroom” is too fast after the “update Student” action, so that it doesn’t know yet that the student is updated.
Hitting the button does update the fields in the table (collection) of the student itself (name, birthdate), but doesn’t update the relations with the ‘gender’ or ‘class’.
I don’t understand what I am doing wrong? Any help is highly appreciated. Thank you!
Still looking for help here. I don’t get why the class is not updated in the Chatroom collection?
Thanks for putting some brainpower into this. It’s highly appreciated.
Eventually @dilon_perera helped me with this (Thanks Dilon ).
It appeared that if you use a default form to update a component and you want to do actions afterwards, with the supposed updated values of the first component, it still takes the previous (old) values.
Dilon changed the default form to a custom form (separate fields and button) and then did update actions to update the different components with the values straight from the fields. That did the trick.