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

DUO: Moratorium field date check fails #3086

Closed
Macroz opened this issue Nov 10, 2022 · 0 comments · Fixed by #3089
Closed

DUO: Moratorium field date check fails #3086

Macroz opened this issue Nov 10, 2022 · 0 comments · Fixed by #3089
Assignees
Labels
Milestone

Comments

@Macroz
Copy link
Collaborator

Macroz commented Nov 10, 2022

If you create a resource with DUO moratorium (MOR) field, when you apply for it and add MOR, then after the autosave the validation fails with the following error:

2022-11-10 17:03:24,721 [jetty-handlers-159 frank GET /api/applications/1017] ERROR compojure.api.exception - No implementation of method: :equal? of protocol: #'clj-time.core/DateTimeProtocol found for class: nil
java.lang.IllegalArgumentException: No implementation of method: :equal? of protocol: #'clj-time.core/DateTimeProtocol found for class: nil
	at clojure.core$_cache_protocol_fn.invokeStatic(core_deftype.clj:584)
	at clojure.core$_cache_protocol_fn.invoke(core_deftype.clj:576)
	at clj_time.core$eval9555$fn__9729$G__9530__9736.invoke(core.clj:102)
	at rems.ext.duo$check_duo_code.invokeStatic(duo.clj:226)
	at rems.ext.duo$check_duo_code.invoke(duo.clj:203)
	at rems.application.model$validate_duo_match.invokeStatic(model.clj:482)
	```
@Macroz Macroz created this issue from a note in Rems task board (Ideas) Nov 10, 2022
@Macroz Macroz added the BUG label Nov 10, 2022
@Macroz Macroz added this to the ELIXIR DUO milestone Nov 10, 2022
@aatkin aatkin moved this from Ideas to Backlog in Rems task board Nov 14, 2022
@aatkin aatkin self-assigned this Nov 25, 2022
@aatkin aatkin moved this from Backlog to In Progress in Rems task board Nov 25, 2022
@aatkin aatkin moved this from In Progress to Done (newest on top) in Rems task board Dec 1, 2022
@Macroz Macroz moved this from Done (newest on top) to Accepted in Rems task board Dec 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

Successfully merging a pull request may close this issue.

2 participants