groboclown / p4ic4idea

Perforce IDEA Community VCS Integration
Apache License 2.0
31 stars 11 forks source link

Edit VCS Directory Settings Shares Objects #211

Closed groboclown closed 4 years ago

groboclown commented 4 years ago

When editing the VCS directory settings, the configuration is cloned between values. It looks like this is a shared object issue. It's particularly noticeable with the P4CONFIG setting, where the user entered data is changed across multiple other directory objects.

It looks like the dialog, when shown, need to flush the existing contents and replace them with new configuration values. It could also be that the generated objects that are passed to the configuration need to be copied.

groboclown commented 4 years ago

There's an underlying IDE bug that causes this problem. The current code makes a best effort to perform the correct action with the information given to it, but that's limited.