Commit 72bd324
fix: skip duplicate leaf creation during v3 migration
The same Wiki Page can be referenced by sidebars in multiple Wiki Spaces.
Wiki Document leaves require globally unique routes, so the second space's
migration was raising ValidationError when it tried to create another leaf
with the same wiki_page route. Skip and log instead during bench migrate.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 02c8eec commit 72bd324
1 file changed
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
126 | 142 | | |
127 | 143 | | |
128 | 144 | | |
| |||
0 commit comments