Skip to content
This repository was archived by the owner on Jul 24, 2020. It is now read-only.
This repository was archived by the owner on Jul 24, 2020. It is now read-only.

Archived reservations break the calendar #1729

Closed
@orenyk

Description

@orenyk
I, [2018-06-26T23:32:45.593280 #29837]  INFO -- : Completed 500 Internal Server Error in 214ms (ActiveRecord: 13.9ms)
F, [2018-06-26T23:32:45.594596 #29837] FATAL -- :   
F, [2018-06-26T23:32:45.594675 #29837] FATAL -- : ActionView::Template::Error (undefined local variable or method `archived_clr' for #<#<Class:0x00000006996aa0>:0x0000000548adf0>):
F, [2018-06-26T23:32:45.594877 #29837] FATAL -- :     11:   json.title res.send(@name_method).name
    12:   json.start res.start_date
    13:   json.end res.end_date + 1.day
    14:   json.backgroundColor res.overdue ? overdue_clr : eval("#{res.status}_clr")
    15:   json.borderColor res.overdue ? overdue_clr : eval("#{res.status}_clr")
    16:   json.allDay true
    17:   json.url reservation_url(res, format: :html)
F, [2018-06-26T23:32:45.594982 #29837] FATAL -- :   
F, [2018-06-26T23:32:45.595055 #29837] FATAL -- : app/views/application/calendar.json.jbuilder:14:in `eval'
app/views/application/calendar.json.jbuilder:14:in `eval'
app/views/application/calendar.json.jbuilder:14:in `block in _app_views_application_calendar_json_jbuilder__3694586438196376487_57274080'
app/views/application/calendar.json.jbuilder:9:in `_app_views_application_calendar_json_jbuilder__3694586438196376487_57274080'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions