numbas / numbas-lti-provider

An LTI tool provider to run Numbas exams
https://docs.numbas.org.uk/lti/en/latest/
Other
11 stars 12 forks source link

Fix adding Editor Link #213

Closed jhoobergs closed 2 years ago

jhoobergs commented 2 years ago

Adding an editor link currently fails with an internal server error. In the logs I found a problem with the last_cache_update which was not nullable. A DataTimeField is saved as null when it is not set as opposed to a TextField that is set to an empty string.

jhoobergs commented 2 years ago

@christianp Any comment on this?

christianp commented 2 years ago

We've been on strike for the past few weeks. I will get round to it, I promise!

jhoobergs commented 2 years ago

No problem, just wanted to make sure that you didn't miss this. (I almost forgot about it myself :) )

christianp commented 2 years ago

That does indeed fix it. Thanks!