Skip to content

[Bug] Visit sensitivity preview not working #927

@TheRed-MM

Description

@TheRed-MM

Describe the bug
Since v4.0.3 the preview in Settings > Visit sensitivity is not working anymore.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Settings > Visit sensitivity
  2. Click "Edit" on an existing configuration
  3. Click "Preview"
  4. Nothing happens

Expected behavior
Up until v4.0.2 the preview worked just fine showcasing the results of changing the sensitivity settings. Same behavior is expected ion v4.0.3

Additional context
It throws a whole bunch of errors:

2026-04-20T19:43:55.756Z  INFO 1 --- [pool-3-thread-2] c.d.r.service.MessageDispatcherService   : Dispatching TriggerProcessingEvent TriggerProcessingEvent{username='XXXXX', previewId='beadf8e9-57bd-4210-b912-6f4b8f23d43f', receivedAt=2026-04-20T19:43:55.753565134Z, traceId='94bab993-2fe1-40ba-85ef-b014e1167f1c'}

2026-04-20T19:43:55.763Z ERROR 1 --- [nio-8080-exec-8] org.thymeleaf.TemplateEngine             : [THYMELEAF][http-nio-8080-exec-8] Exception processing template "fragments/configuration-preview::[configuration-preview]": Exception evaluating SpringEL expression: "previewConfig.visitMerging.minDistanceBetweenVisits" (template: "fragments/configuration-preview" - line 72, col 26)

org.thymeleaf.exceptions.TemplateProcessingException: Exception evaluating SpringEL expression: "previewConfig.visitMerging.minDistanceBetweenVisits" (template: "fragments/configuration-preview" - line 72, col 26)

2026-04-20T19:43:55.766Z ERROR 1 --- [nio-8080-exec-8] o.a.c.c.C.[.[.[/].[dispatcherServlet]    : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed: org.thymeleaf.exceptions.TemplateProcessingException: Exception evaluating SpringEL expression: "previewConfig.visitMerging.minDistanceBetweenVisits" (template: "fragments/configuration-preview" - line 72, col 26)] with root cause

org.springframework.expression.spel.SpelEvaluationException: EL1008E: Property or field 'minDistanceBetweenVisits' cannot be found on object of type 'com.dedicatedcode.reitti.model.processing.DetectionParameter$VisitMerging' - maybe not public or not valid?

2026-04-20T19:43:55.772Z ERROR 1 --- [nio-8080-exec-8] c.d.r.controller.CustomErrorController   : Error 500 occurred for request URI: /settings/visit-sensitivity/preview, message:

jakarta.servlet.ServletException: Request processing failed: org.thymeleaf.exceptions.TemplateProcessingException: Exception evaluating SpringEL expression: "previewConfig.visitMerging.minDistanceBetweenVisits" (template: "fragments/configuration-preview" - line 72, col 26)

2026-04-20T19:43:56.605Z  INFO 1 --- [pool-4-thread-1] d.r.s.p.UnifiedLocationProcessingService : Processing location data for user [XXXXX], mode: PREVIEW
04/20/2026, 09:43:56 PM
STDOUT
2026-04-20T19:43:56.873Z  INFO 1 --- [pool-4-thread-1] d.r.s.p.UnifiedLocationProcessingService : Processing location data for user [XXXXX], mode: PREVIEW

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions