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

Unable to change start/end dates of course in web frontend #1376

Closed
magsol opened this issue Sep 11, 2021 · 5 comments
Closed

Unable to change start/end dates of course in web frontend #1376

magsol opened this issue Sep 11, 2021 · 5 comments

Comments

@magsol
Copy link

magsol commented Sep 11, 2021

I'm trying to install the latest version of Autolab (via docker-compose) for University of Georgia. I'm using an Ubuntu 18.04 VM.

Installation is fine and the website is functional--it is SSL protected and I can log in as the administrator. The problem is after creating the new course, I go into Manage Course -> Admin Course -> Course settings to update the course details.

First, the "start date" and "end date" fields appear only with the default text: F j, 2021 The Javascript date selector will pop up when I click the field, but the actual field content won't change even after selecting a date from the pop-up. After selecting a date, if I click the field again and the selector pops up again, it will highlight the date I chose, so the Javascript selector is clearly working even if the field itself isn't updating.

However, this creates a problem when I attempt to submit the form: I get a 500 error. Here is the error information:

--- !ruby/exception:NoMethodError
message: undefined method `>' for nil:NilClass
corrections: []

(similar to this ticket)

and the first line of the stacktrace is /home/app/webapp/app/models/course.rb:113:in 'order_of_dates', clearly indicating that the form values that are submitted to the server are still the "default" values (i.e. Time.now for both), which is why the error is tripping in the first place. Meaning even though the Javascript values are updated from using the pop-up selector, those values don't seem to propagate to the HTML form.

This seems like something that should have a straightforward fix but I can't find it. Assistance would be greatly appreciated.

I considered editing the course config directly in the autolab docker container at /home/app/webapp/courseConfig but either that .rb file isn't where the start/end dates are supposed to go, or by virtue of the failed form submission those fields haven't been initialized in the .rb file, and I'm not sure what the format is supposed to be.

@victorhuangwq
Copy link
Contributor

Hi thank you for reporting this issue.
Could I ask for some screenshots of the course settings form (so I know exactly you are submitting so I can replicate the error), as well as the full stacktrace? Thanks :)

@magsol
Copy link
Author

magsol commented Sep 12, 2021

Here are the start/end date fields. No matter what I do, those default values don't change.

Screen Shot 2021-09-11 at 8 38 20 PM

Here's what happens when I click on the field.

Screen Shot 2021-09-11 at 8 38 29 PM

And here's the full stack dump whenever I attempt to save:

/home/app/webapp/app/models/course.rb:113:in `order_of_dates'
/usr/local/rvm/gems/ruby-2.6.6/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:426:in `block in make_lambda'
/usr/local/rvm/gems/ruby-2.6.6/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:198:in `block (2 levels) in halting'
/usr/local/rvm/gems/ruby-2.6.6/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:606:in `block (2 levels) in default_terminator'
/usr/local/rvm/gems/ruby-2.6.6/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:605:in `catch'
/usr/local/rvm/gems/ruby-2.6.6/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:605:in `block in default_terminator'
/usr/local/rvm/gems/ruby-2.6.6/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:199:in `block in halting'
/usr/local/rvm/gems/ruby-2.6.6/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:513:in `block in invoke_before'
/usr/local/rvm/gems/ruby-2.6.6/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:513:in `each'
/usr/local/rvm/gems/ruby-2.6.6/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:513:in `invoke_before'
/usr/local/rvm/gems/ruby-2.6.6/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:131:in `run_callbacks'
/usr/local/rvm/gems/ruby-2.6.6/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:816:in `_run_validate_callbacks'
/usr/local/rvm/gems/ruby-2.6.6/gems/activemodel-5.2.0/lib/active_model/validations.rb:409:in `run_validations!'
/usr/local/rvm/gems/ruby-2.6.6/gems/activemodel-5.2.0/lib/active_model/validations/callbacks.rb:118:in `block in run_validations!'
/usr/local/rvm/gems/ruby-2.6.6/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:132:in `run_callbacks'
/usr/local/rvm/gems/ruby-2.6.6/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:816:in `_run_validation_callbacks'
/usr/local/rvm/gems/ruby-2.6.6/gems/activemodel-5.2.0/lib/active_model/validations/callbacks.rb:118:in `run_validations!'
/usr/local/rvm/gems/ruby-2.6.6/gems/activemodel-5.2.0/lib/active_model/validations.rb:339:in `valid?'
/usr/local/rvm/gems/ruby-2.6.6/gems/activerecord-5.2.0/lib/active_record/validations.rb:67:in `valid?'
/usr/local/rvm/gems/ruby-2.6.6/gems/activerecord-5.2.0/lib/active_record/validations.rb:84:in `perform_validations'
/usr/local/rvm/gems/ruby-2.6.6/gems/activerecord-5.2.0/lib/active_record/validations.rb:46:in `save'
/usr/local/rvm/gems/ruby-2.6.6/gems/activerecord-5.2.0/lib/active_record/transactions.rb:310:in `block (2 levels) in save'
/usr/local/rvm/gems/ruby-2.6.6/gems/activerecord-5.2.0/lib/active_record/transactions.rb:386:in `block in with_transaction_returning_status'
/usr/local/rvm/gems/ruby-2.6.6/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract/database_statements.rb:252:in `transaction'
/usr/local/rvm/gems/ruby-2.6.6/gems/activerecord-5.2.0/lib/active_record/transactions.rb:212:in `transaction'
/usr/local/rvm/gems/ruby-2.6.6/gems/activerecord-5.2.0/lib/active_record/transactions.rb:383:in `with_transaction_returning_status'
/usr/local/rvm/gems/ruby-2.6.6/gems/activerecord-5.2.0/lib/active_record/transactions.rb:310:in `block in save'
/usr/local/rvm/gems/ruby-2.6.6/gems/activerecord-5.2.0/lib/active_record/transactions.rb:325:in `rollback_active_record_state!'
/usr/local/rvm/gems/ruby-2.6.6/gems/activerecord-5.2.0/lib/active_record/transactions.rb:309:in `save'
/usr/local/rvm/gems/ruby-2.6.6/gems/activerecord-5.2.0/lib/active_record/suppressor.rb:44:in `save'
/usr/local/rvm/gems/ruby-2.6.6/gems/newrelic_rpm-6.9.0.363/lib/new_relic/agent/instrumentation/active_record_prepend.rb:16:in `block in save'
/usr/local/rvm/gems/ruby-2.6.6/gems/newrelic_rpm-6.9.0.363/lib/new_relic/agent/transaction.rb:824:in `with_database_metric_name'
/usr/local/rvm/gems/ruby-2.6.6/gems/newrelic_rpm-6.9.0.363/lib/new_relic/agent.rb:676:in `with_database_metric_name'
/usr/local/rvm/gems/ruby-2.6.6/gems/newrelic_rpm-6.9.0.363/lib/new_relic/agent/instrumentation/active_record_prepend.rb:15:in `save'
/usr/local/rvm/gems/ruby-2.6.6/gems/activerecord-5.2.0/lib/active_record/persistence.rb:428:in `block in update'
/usr/local/rvm/gems/ruby-2.6.6/gems/activerecord-5.2.0/lib/active_record/transactions.rb:386:in `block in with_transaction_returning_status'
/usr/local/rvm/gems/ruby-2.6.6/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract/database_statements.rb:254:in `block in transaction'
/usr/local/rvm/gems/ruby-2.6.6/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract/transaction.rb:230:in `block in within_new_transaction'
/usr/local/rvm/rubies/ruby-2.6.6/lib/ruby/2.6.0/monitor.rb:235:in `mon_synchronize'
/usr/local/rvm/gems/ruby-2.6.6/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract/transaction.rb:227:in `within_new_transaction'
/usr/local/rvm/gems/ruby-2.6.6/gems/activerecord-5.2.0/lib/active_record/connection_adapters/abstract/database_statements.rb:254:in `transaction'
/usr/local/rvm/gems/ruby-2.6.6/gems/activerecord-5.2.0/lib/active_record/transactions.rb:212:in `transaction'
/usr/local/rvm/gems/ruby-2.6.6/gems/activerecord-5.2.0/lib/active_record/transactions.rb:383:in `with_transaction_returning_status'
/usr/local/rvm/gems/ruby-2.6.6/gems/activerecord-5.2.0/lib/active_record/persistence.rb:426:in `update'
/home/app/webapp/app/controllers/courses_controller.rb:160:in `update'
/usr/local/rvm/gems/ruby-2.6.6/gems/actionpack-5.2.0/lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'
/usr/local/rvm/gems/ruby-2.6.6/gems/actionpack-5.2.0/lib/abstract_controller/base.rb:194:in `process_action'
/usr/local/rvm/gems/ruby-2.6.6/gems/actionpack-5.2.0/lib/action_controller/metal/rendering.rb:30:in `process_action'
/usr/local/rvm/gems/ruby-2.6.6/gems/actionpack-5.2.0/lib/abstract_controller/callbacks.rb:42:in `block in process_action'
/usr/local/rvm/gems/ruby-2.6.6/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:109:in `block in run_callbacks'
/usr/local/rvm/gems/ruby-2.6.6/gems/activesupport-5.2.0/lib/active_support/core_ext/time/zones.rb:66:in `use_zone'
/usr/local/rvm/gems/ruby-2.6.6/gems/browser-timezone-rails-1.1.0/lib/browser-timezone-rails.rb:22:in `set_time_zone'
/usr/local/rvm/gems/ruby-2.6.6/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:118:in `block in run_callbacks'
/usr/local/rvm/gems/ruby-2.6.6/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:136:in `run_callbacks'
/usr/local/rvm/gems/ruby-2.6.6/gems/actionpack-5.2.0/lib/abstract_controller/callbacks.rb:41:in `process_action'
/usr/local/rvm/gems/ruby-2.6.6/gems/actionpack-5.2.0/lib/action_controller/metal/rescue.rb:22:in `process_action'
/usr/local/rvm/gems/ruby-2.6.6/gems/actionpack-5.2.0/lib/action_controller/metal/instrumentation.rb:34:in `block in process_action'
/usr/local/rvm/gems/ruby-2.6.6/gems/activesupport-5.2.0/lib/active_support/notifications.rb:168:in `block in instrument'
/usr/local/rvm/gems/ruby-2.6.6/gems/activesupport-5.2.0/lib/active_support/notifications/instrumenter.rb:23:in `instrument'
/usr/local/rvm/gems/ruby-2.6.6/gems/activesupport-5.2.0/lib/active_support/notifications.rb:168:in `instrument'
/usr/local/rvm/gems/ruby-2.6.6/gems/actionpack-5.2.0/lib/action_controller/metal/instrumentation.rb:32:in `process_action'
/usr/local/rvm/gems/ruby-2.6.6/gems/actionpack-5.2.0/lib/action_controller/metal/params_wrapper.rb:256:in `process_action'
/usr/local/rvm/gems/ruby-2.6.6/gems/activerecord-5.2.0/lib/active_record/railties/controller_runtime.rb:24:in `process_action'
/usr/local/rvm/gems/ruby-2.6.6/gems/actionpack-5.2.0/lib/abstract_controller/base.rb:134:in `process'
/usr/local/rvm/gems/ruby-2.6.6/gems/actionview-5.2.0/lib/action_view/rendering.rb:32:in `process'
/usr/local/rvm/gems/ruby-2.6.6/gems/actionpack-5.2.0/lib/action_controller/metal.rb:191:in `dispatch'
/usr/local/rvm/gems/ruby-2.6.6/gems/actionpack-5.2.0/lib/action_controller/metal.rb:252:in `dispatch'
/usr/local/rvm/gems/ruby-2.6.6/gems/actionpack-5.2.0/lib/action_dispatch/routing/route_set.rb:52:in `dispatch'
/usr/local/rvm/gems/ruby-2.6.6/gems/actionpack-5.2.0/lib/action_dispatch/routing/route_set.rb:34:in `serve'
/usr/local/rvm/gems/ruby-2.6.6/gems/actionpack-5.2.0/lib/action_dispatch/journey/router.rb:52:in `block in serve'
/usr/local/rvm/gems/ruby-2.6.6/gems/actionpack-5.2.0/lib/action_dispatch/journey/router.rb:35:in `each'
/usr/local/rvm/gems/ruby-2.6.6/gems/actionpack-5.2.0/lib/action_dispatch/journey/router.rb:35:in `serve'
/usr/local/rvm/gems/ruby-2.6.6/gems/actionpack-5.2.0/lib/action_dispatch/routing/route_set.rb:840:in `call'
/usr/local/rvm/gems/ruby-2.6.6/gems/newrelic_rpm-6.9.0.363/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call'
/usr/local/rvm/gems/ruby-2.6.6/gems/newrelic_rpm-6.9.0.363/lib/new_relic/rack/agent_hooks.rb:30:in `traced_call'
/usr/local/rvm/gems/ruby-2.6.6/gems/newrelic_rpm-6.9.0.363/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call'
/usr/local/rvm/gems/ruby-2.6.6/gems/newrelic_rpm-6.9.0.363/lib/new_relic/rack/browser_monitoring.rb:33:in `traced_call'
/usr/local/rvm/gems/ruby-2.6.6/gems/newrelic_rpm-6.9.0.363/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call'
/usr/local/rvm/gems/ruby-2.6.6/gems/rack-attack-6.2.2/lib/rack/attack.rb:156:in `call'
/usr/local/rvm/gems/ruby-2.6.6/gems/newrelic_rpm-6.9.0.363/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call'
/usr/local/rvm/gems/ruby-2.6.6/gems/exception_notification-4.4.0/lib/exception_notification/rack.rb:36:in `call'
/usr/local/rvm/gems/ruby-2.6.6/gems/newrelic_rpm-6.9.0.363/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call'
/usr/local/rvm/gems/ruby-2.6.6/gems/rack-ssl-enforcer-0.2.9/lib/rack/ssl-enforcer.rb:52:in `call'
/usr/local/rvm/gems/ruby-2.6.6/gems/newrelic_rpm-6.9.0.363/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call'
/usr/local/rvm/gems/ruby-2.6.6/gems/rack-attack-6.2.2/lib/rack/attack.rb:163:in `call'
/usr/local/rvm/gems/ruby-2.6.6/gems/newrelic_rpm-6.9.0.363/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call'
/usr/local/rvm/gems/ruby-2.6.6/gems/warden-1.2.8/lib/warden/manager.rb:36:in `block in call'
/usr/local/rvm/gems/ruby-2.6.6/gems/warden-1.2.8/lib/warden/manager.rb:34:in `catch'
/usr/local/rvm/gems/ruby-2.6.6/gems/warden-1.2.8/lib/warden/manager.rb:34:in `call'
/usr/local/rvm/gems/ruby-2.6.6/gems/newrelic_rpm-6.9.0.363/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call'
/usr/local/rvm/rubies/ruby-2.6.6/lib/ruby/gems/2.6.0/gems/rack-2.2.3/lib/rack/tempfile_reaper.rb:15:in `call'
/usr/local/rvm/gems/ruby-2.6.6/gems/newrelic_rpm-6.9.0.363/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call'
/usr/local/rvm/rubies/ruby-2.6.6/lib/ruby/gems/2.6.0/gems/rack-2.2.3/lib/rack/etag.rb:27:in `call'
/usr/local/rvm/gems/ruby-2.6.6/gems/newrelic_rpm-6.9.0.363/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call'
/usr/local/rvm/rubies/ruby-2.6.6/lib/ruby/gems/2.6.0/gems/rack-2.2.3/lib/rack/conditional_get.rb:40:in `call'
/usr/local/rvm/gems/ruby-2.6.6/gems/newrelic_rpm-6.9.0.363/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call'
/usr/local/rvm/rubies/ruby-2.6.6/lib/ruby/gems/2.6.0/gems/rack-2.2.3/lib/rack/head.rb:12:in `call'
/usr/local/rvm/gems/ruby-2.6.6/gems/newrelic_rpm-6.9.0.363/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call'
/usr/local/rvm/gems/ruby-2.6.6/gems/actionpack-5.2.0/lib/action_dispatch/http/content_security_policy.rb:18:in `call'
/usr/local/rvm/gems/ruby-2.6.6/gems/newrelic_rpm-6.9.0.363/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call'
/usr/local/rvm/rubies/ruby-2.6.6/lib/ruby/gems/2.6.0/gems/rack-2.2.3/lib/rack/session/abstract/id.rb:266:in `context'
/usr/local/rvm/rubies/ruby-2.6.6/lib/ruby/gems/2.6.0/gems/rack-2.2.3/lib/rack/session/abstract/id.rb:260:in `call'
/usr/local/rvm/gems/ruby-2.6.6/gems/newrelic_rpm-6.9.0.363/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call'
/usr/local/rvm/gems/ruby-2.6.6/gems/actionpack-5.2.0/lib/action_dispatch/middleware/cookies.rb:670:in `call'
/usr/local/rvm/gems/ruby-2.6.6/gems/newrelic_rpm-6.9.0.363/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call'
/usr/local/rvm/gems/ruby-2.6.6/gems/actionpack-5.2.0/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
/usr/local/rvm/gems/ruby-2.6.6/gems/activesupport-5.2.0/lib/active_support/callbacks.rb:98:in `run_callbacks'
/usr/local/rvm/gems/ruby-2.6.6/gems/actionpack-5.2.0/lib/action_dispatch/middleware/callbacks.rb:26:in `call'
/usr/local/rvm/gems/ruby-2.6.6/gems/newrelic_rpm-6.9.0.363/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call'
/usr/local/rvm/gems/ruby-2.6.6/gems/actionpack-5.2.0/lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call'
/usr/local/rvm/gems/ruby-2.6.6/gems/newrelic_rpm-6.9.0.363/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call'
/usr/local/rvm/gems/ruby-2.6.6/gems/actionpack-5.2.0/lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
/usr/local/rvm/gems/ruby-2.6.6/gems/newrelic_rpm-6.9.0.363/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call'
/usr/local/rvm/gems/ruby-2.6.6/gems/railties-5.2.0/lib/rails/rack/logger.rb:38:in `call_app'
/usr/local/rvm/gems/ruby-2.6.6/gems/railties-5.2.0/lib/rails/rack/logger.rb:26:in `block in call'
/usr/local/rvm/gems/ruby-2.6.6/gems/activesupport-5.2.0/lib/active_support/tagged_logging.rb:71:in `block in tagged'
/usr/local/rvm/gems/ruby-2.6.6/gems/activesupport-5.2.0/lib/active_support/tagged_logging.rb:28:in `tagged'
/usr/local/rvm/gems/ruby-2.6.6/gems/activesupport-5.2.0/lib/active_support/tagged_logging.rb:71:in `tagged'
/usr/local/rvm/gems/ruby-2.6.6/gems/railties-5.2.0/lib/rails/rack/logger.rb:26:in `call'
/usr/local/rvm/gems/ruby-2.6.6/gems/newrelic_rpm-6.9.0.363/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call'
/usr/local/rvm/gems/ruby-2.6.6/gems/actionpack-5.2.0/lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
/usr/local/rvm/gems/ruby-2.6.6/gems/newrelic_rpm-6.9.0.363/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call'
/usr/local/rvm/gems/ruby-2.6.6/gems/actionpack-5.2.0/lib/action_dispatch/middleware/request_id.rb:27:in `call'
/usr/local/rvm/gems/ruby-2.6.6/gems/newrelic_rpm-6.9.0.363/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call'
/usr/local/rvm/rubies/ruby-2.6.6/lib/ruby/gems/2.6.0/gems/rack-2.2.3/lib/rack/method_override.rb:24:in `call'
/usr/local/rvm/gems/ruby-2.6.6/gems/newrelic_rpm-6.9.0.363/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call'
/usr/local/rvm/rubies/ruby-2.6.6/lib/ruby/gems/2.6.0/gems/rack-2.2.3/lib/rack/runtime.rb:22:in `call'
/usr/local/rvm/gems/ruby-2.6.6/gems/newrelic_rpm-6.9.0.363/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call'
/usr/local/rvm/gems/ruby-2.6.6/gems/activesupport-5.2.0/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
/usr/local/rvm/gems/ruby-2.6.6/gems/newrelic_rpm-6.9.0.363/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call'
/usr/local/rvm/gems/ruby-2.6.6/gems/actionpack-5.2.0/lib/action_dispatch/middleware/executor.rb:14:in `call'
/usr/local/rvm/gems/ruby-2.6.6/gems/newrelic_rpm-6.9.0.363/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call'
/usr/local/rvm/gems/ruby-2.6.6/gems/actionpack-5.2.0/lib/action_dispatch/middleware/static.rb:127:in `call'
/usr/local/rvm/gems/ruby-2.6.6/gems/newrelic_rpm-6.9.0.363/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call'
/usr/local/rvm/rubies/ruby-2.6.6/lib/ruby/gems/2.6.0/gems/rack-2.2.3/lib/rack/sendfile.rb:110:in `call'
/usr/local/rvm/gems/ruby-2.6.6/gems/newrelic_rpm-6.9.0.363/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call'
/usr/local/rvm/gems/ruby-2.6.6/gems/actionpack-5.2.0/lib/action_dispatch/middleware/ssl.rb:74:in `call'
/usr/local/rvm/gems/ruby-2.6.6/gems/newrelic_rpm-6.9.0.363/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call'
/usr/local/rvm/gems/ruby-2.6.6/gems/railties-5.2.0/lib/rails/engine.rb:524:in `call'
/usr/local/rvm/gems/ruby-2.6.6/gems/railties-5.2.0/lib/rails/railtie.rb:190:in `public_send'
/usr/local/rvm/gems/ruby-2.6.6/gems/railties-5.2.0/lib/rails/railtie.rb:190:in `method_missing'
/usr/local/rvm/gems/ruby-2.6.6/gems/newrelic_rpm-6.9.0.363/lib/new_relic/agent/instrumentation/middleware_tracing.rb:99:in `call'
/usr/lib/ruby/vendor_ruby/phusion_passenger/rack/thread_handler_extension.rb:107:in `process_request'
/usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler/thread_handler.rb:157:in `accept_and_process_next_request'
/usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler/thread_handler.rb:110:in `main_loop'
/usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler.rb:416:in `block (3 levels) in start_threads'
/usr/lib/ruby/vendor_ruby/phusion_passenger/utils.rb:113:in `block in create_thread_and_abort_on_exception'

@xinyis991105
Copy link
Contributor

Hi! It looks like some javascript issue in our codebase with initializing date pickers. I will soon patch a PR for this. Thanks for the detailed feedback!

@magsol
Copy link
Author

magsol commented Sep 12, 2021 via email

@xinyis991105
Copy link
Contributor

This is due to the fact that we use datetime picker for assignments whereas date picker is used for the course setting. There is some issue regarding parsing different formats. Thanks for the observation!

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

No branches or pull requests

3 participants