Problem with my Domain Model

0
Hello,    so I am currently working on a project of developing an app in mendix studio pro version 10.16.0. I accidently made a mistake while working in my domain model which I now cant revert. The problem being that I changed the name of one of my entities "your_bookings" which is connected to another entity. After renaming the entity from "your_bookings" to just "bookings" i noticed numerous errors popping up which is why I tried undoing my action by using the "ctrl + z" option to revert recently made changes. After using that, i quickly resorted to saving my changes with "ctrl + s", close Mendix Studio Pro and start it up again. I noticed that there still were numerous errors connected to my recent change of renaming the entity ("the selected entity ... no longer exists", "the selected association ... no longer exists", "the selected attribute ... no longer exists" and so on). After checking my domain model evrything seemed to be ok (entity being named "your_bookings" again and the association being named correctly as well). I used the domain model together with some data views on one of my pages. Inside the data views i used date picker-widgets which now seem to have problems with the domain model. When opening the data source / attribute tab of the date picker within one of the data views i noticed that it still said "abc_bookings/.../..." instead of using the correct entity. I tried restarting the application, deleting the "your_bookings" entity and creating a new one, tried asking chatgpt for advice but everything i tried so far didnt seem to work.   Is there any way i can fix my problem?   I am very grateful for any advice!
asked
1 answers
1

When clicking on the error you are transfered to the location of the problem. So for instance you end up the the reference selector that now points to something over an association that now has a different name. Just reselect again over the now correct named association again to solve the problem.

If you want to undo something in your domain model you need to right click in the explorer and use the revert change option. This will revert all your changes back. This also works on any yellow dot in your explorer pane. It will revert back to the status of your last commit.

Regards,

Ronald

 

answered