sergehuber opened a new pull request, #938: URL: https://github.com/apache/unomi/pull/938
## Summary - Bundle-loaded JSON schemas were saved with `persistenceService.save`, which bypassed the audit carry-over in `AbstractMultiTypeCachingService.saveItem` (UNOMI-997). After migration, a bundle refresh could wipe `createdBy` / `creationDate` and flake `Migrate16xToCurrentVersionIT`. - Predefined schemas now go through `saveItem` like other caching services. - Unit test: re-saving a predefined schema keeps `system-migration-4.0.0` create audit. ## Test plan - [x] `mvn -pl extensions/json-schema/services -am test -Dtest=SchemaServiceImplTest#testBundleResaveKeepsMigratedCreatedBy` - [ ] `Migrate16xToCurrentVersionIT` (CI) https://issues.apache.org/jira/browse/UNOMI-1026 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
