Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

intersect/batch fails if LayersService.getIntersectionFiles is not cached #265

Open
adam-collins opened this issue Feb 9, 2025 · 1 comment
Assignees
Milestone

Comments

@adam-collins
Copy link
Collaborator

LayersService.getIntersectionFiles is cached when spatial-service is used by spatial-hub. If intersect/batch is used before this occurs it will fail with the error org.hibernate.HibernateException: No Session found for current thread at function FieldsService.getFields().

@adam-collins adam-collins added this to the 2.2.0 milestone Feb 9, 2025
@adam-collins
Copy link
Collaborator Author

I stopped looking for the exact service required to trigger the caching. This was not introduced recently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant