Wednesday, May 22, 2019¶
Uff, I finally got some time to dive into #3010.
lino_xl.lib.courses.StatusReport was not being
rendered in the dashboard.
And we didn’t notice it until Johanna reported it after their last release.
I fixed it for now, but my fix is not optimal.
show_story() methods in
lino.core.renderer now have an additional
elif for this case.
The whole concept of a “story” is still a bit vague and should be more generalized.
Also the differentiation between BaseRequest and its subclasses is maybe useless.
I did not yet find out when the problem had been introduced.
It seems that no test case covered it.
rt.show(courses.StatusReport) in a doctest worked okay.
method would have shown it, but it is not used often.
It is used in Calendar in Lino Tera,
but this user didn’t see that report.
In The admin main page we also called it but that test was being skipped.git st
I now added a test in General overview of Lino Avanti.