traccar-web
traccar-web copied to clipboard
Cant save a once calendar item
Describe the bug If you create a calendar item that is of type once, it throws a Missing expected token, last token: at [Source: (org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$UnCloseableInputStream); line: 1, column: 9] (through reference chain: org.traccar.model.Calendar["data"])
To Reproduce Steps to reproduce the behavior:
- Go to create calendar
- Click on 'daily'
- Press Save
- See error
Missing expected token, last token: at [Source: (org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$UnCloseableInputStream); line: 1, column: 9] (through reference chain: org.traccar.model.Calendar["data"])
Expected behavior Have a calendar saved.
Desktop (please complete the following information):
- OS: MAC
- Browser [CHROME
- Version of traccar - 3.8
What is the use case for one time calendars?
My use case was tying a calendar to a geofence, that existed for a 1 week project.
Can you elaborate? What do you mean by trying? Is that a real production use case?