You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The project is written in Kotlin (version 2.0.21). In the gradle.properties file, org.gradle.caching=true is set. When running the gradle clean task, the .build directory is deleted, along with the entitiesEnhancing folder inside it, which contains the persistence.xml file with the project's entities. Then, when executing the gradle build task, the compileKotlin task is skipped, and the result is fetched from the cache. As a result, the EnhancingAction#execute task does not run, and the entitiesEnhancing folder with persistence.xml is not added to the .build directory. When the application starts and I try to log in via the login view, I get the following exception:
Exception Description: Problem compiling [select e from User e where e.username = :username].
[14, 18] The abstract schema type 'User' is unknown.
[27, 37] The state field path 'e.username' cannot be resolved to a valid type.
Changing org.gradle.caching=true to org.gradle.caching=false resolves this issue.
The text was updated successfully, but these errors were encountered:
Environment
Jmix version: <4.2.1>
Bug Description
The project is written in Kotlin (version 2.0.21). In the gradle.properties file, org.gradle.caching=true is set. When running the gradle clean task, the .build directory is deleted, along with the entitiesEnhancing folder inside it, which contains the persistence.xml file with the project's entities. Then, when executing the gradle build task, the compileKotlin task is skipped, and the result is fetched from the cache. As a result, the EnhancingAction#execute task does not run, and the entitiesEnhancing folder with persistence.xml is not added to the .build directory. When the application starts and I try to log in via the login view, I get the following exception:
Changing org.gradle.caching=true to org.gradle.caching=false resolves this issue.
The text was updated successfully, but these errors were encountered: