Files
floci/src
Mahmoud Khalifa 3440dcc7c5 fix(dynamodb): refuse overlapping UpdateExpression paths on the service path too (#9763)
The overlap check ran only in NativeDynamoDbJsonHandler, so callers that
reach DynamoDbService.updateItem directly, the Step Functions DynamoDB
updateItem task through NativeDynamoDbBackend and PartiQL UPDATE, still
applied an UpdateExpression whose actions name the same path, or a path
and one inside it, where DynamoDB refuses it.

- add DynamoDbUpdateExpressionSyntax.checkPaths, which reads the sections
  and runs only the shared overlap check (the placeholder and value checks
  stay in the handler)
- call it in updateItemInternal before the item lock, the read and the
  condition, and in the TransactWriteItems Update validation
2026-11-29 13:49:10 -04:00
..