Commit 0c6beb8
fix: update _Transaction table after MPR v2 writes for Studio Pro F4 sync (#78)
MPR v2 projects have a _Transaction table with a LastTransactionID
column. Studio Pro writes a new UUID on every save and uses it to
detect external changes during F4 sync. mxcli never updated this
table, causing Studio Pro to throw InvalidOperationException when
pressing F4 after mxcli modified the project.
Add updateTransactionID() that writes a new UUID to _Transaction
after every insertUnit, updateUnit, and deleteUnit on v2 projects.
Fixes #78
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 7db903f commit 0c6beb8
1 file changed
+14
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
16 | 27 | | |
17 | 28 | | |
18 | 29 | | |
| |||
70 | 81 | | |
71 | 82 | | |
72 | 83 | | |
| 84 | + | |
73 | 85 | | |
74 | 86 | | |
75 | 87 | | |
| |||
126 | 138 | | |
127 | 139 | | |
128 | 140 | | |
| 141 | + | |
129 | 142 | | |
130 | 143 | | |
131 | 144 | | |
| |||
182 | 195 | | |
183 | 196 | | |
184 | 197 | | |
| 198 | + | |
185 | 199 | | |
186 | 200 | | |
187 | 201 | | |
| |||
0 commit comments