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

Cant save a once calendar item #1149

Open
hunterino opened this issue Jul 11, 2023 · 3 comments
Open

Cant save a once calendar item #1149

hunterino opened this issue Jul 11, 2023 · 3 comments

Comments

@hunterino
Copy link

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:

  1. Go to create calendar
  2. Click on 'daily'
  3. Press Save
  4. 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
@tananaev
Copy link
Member

What is the use case for one time calendars?

@hunterino
Copy link
Author

My use case was tying a calendar to a geofence, that existed for a 1 week project.

@tananaev
Copy link
Member

Can you elaborate? What do you mean by trying? Is that a real production use case?

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

2 participants