Downloads  |  Buy

More than one user is able to open and modify the project at the same time. Can that be disabled?

More than one user is able to open and modify the project at the same time. Can that be disabled?

Postby LCIII » July 10th, 2019, 11:31 am

We keep our *.wyp project file on a shared directory where our small team all has access. We've found a problem where more than one person is able to open and edit the project and make changes and save, and whoever saved the project more recently has their changes persist and overwrite the other person's changes.

It seems odd that two users could open this same project file and modify it at the same time. Is there a way to disable that so that only one user can modify the project file at a time?
LCIII
 
Posts: 4
Joined: April 1st, 2019, 1:26 pm

Re: More than one user is able to open and modify the project at the same time. Can that be disabled?

Postby LCIII » July 11th, 2019, 2:11 pm

Not sure if it matters but currently now just one user (me) has a purchased license and the others are using the free trial.
LCIII
 
Posts: 4
Joined: April 1st, 2019, 1:26 pm

Re: More than one user is able to open and modify the project at the same time. Can that be disabled?

Postby Wyatt » July 11th, 2019, 3:20 pm

Honestly, there's no good way to resolve this. Different products take different approaches. Some, like wyBuild, let you open a file infinite number of times and the state is stored in memory and when you save it the state is written to file.

Some choose to implement some "watching". Namely, the program watches the file on disk and if it's modified then it prompts you to reload. Visual Studio does this.

Some only allow 1 instance to open a file.

We believe our method provides the most usable experience. Also, this is a solvable problem. Force users to copy the project to a writable disk outside of the shared folder and if they make changes it will be to their copy.
User avatar
Wyatt
Site Admin
 
Posts: 6053
Joined: July 11th, 2007, 10:30 pm
Location: New Hampshire


Return to wyBuild, wyUpdate, & AutomaticUpdater Support