Commit c74b8f0
fix: resolve $tenant type mismatch in validation and update detection
- Structure validator: always validate $tenant as integer regardless of
adapter ID type, since tenant IDs are integers in all adapters
- updateDocument: use raw getAttribute instead of getTenant() to preserve
the original type and avoid false change detection from int/string mismatch
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent dfeacb1 commit c74b8f0
2 files changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6054 | 6054 | | |
6055 | 6055 | | |
6056 | 6056 | | |
6057 | | - | |
| 6057 | + | |
6058 | 6058 | | |
6059 | 6059 | | |
6060 | 6060 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
340 | 340 | | |
341 | 341 | | |
342 | 342 | | |
343 | | - | |
| 343 | + | |
| 344 | + | |
344 | 345 | | |
345 | 346 | | |
346 | 347 | | |
| |||
0 commit comments