Dmitry Taimanov
Dmitry Taimanov
#### Problem See #3080 and #3167 Changes from #3080 have been reverted from bugfix release and should be added to next minor release. #### Tasks * apply again changes from...
### Environment - Platform version: 7.2.7 - Forum Issue: https://www.cuba-platform.ru/discuss/t/cannot-merge-an-entity-that-has-been-removed/4722 ### Description of the bug Deletion of entities fails when: 1. entities is hard-delete, 2. several entities deleted in one...
- Platform version: 7.2.X See forum [topic](https://forum.cuba-platform.com/t/multiple-queries-with-entity-cache-after-not-cached-query/16478) to find reproducible case. ### Problem Separate loading of collection attribute (`org.eclipse.persistence.internal.indirection.QueryBasedValueHolder#instantiate(...):147`) does not use Query Cache. When entity loaded with cached query,...
#### Problem Some tests failed in the case of building Jmix on a computer with a timezone different from +04. E.g. `io.jmix.graphql.datafetcher.date.DateMutationTest#"should upsert time fields with seconds"`. It happens because...
### Problem: `io.jmix.multitenancy.core.impl.TenantPersistingListener` listens `EntitySavingEvent` which is published by DataManager only. It causes absence of tenantId in entities which is persisted by EntityManager. (see jmix-framework/jmix#976, jmix-framework/jmix#969) ### Solution: Rework Listener...
see jmix-framework/jmix#1012 Check this case for Flow UI
see cuba-platform/cuba#3287 The same situation have place in Jmix.
### Problem `com.haulmont.cuba.core.app.scheduling.Scheduling#processScheduledTasks()` uses `org.springframework.scheduling.annotation.Scheduled` annotation which sometimes triggers task execution and database calls before other beans initialized. E.g. before `io.jmix.eclipselink.impl.support.JmixEclipseLinkJpaVendorAdapter.JmixEclipseLinkSessionCustomizer` set which makes entities not cacheable. ### Solution Use...
`EntityManager` despite of `DataManager` does not publish `EntitySavingEvent` which is used to set tenant id. Also check other places in Jmix when `EntityManager` is used.
### Description: Left join in JPQL translated into inner join in SQL if the same reference attribute used in `join` and in `where` independently. **JPQL:** ``` select n from Note...