Error when section is not scheduled for current term
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SchoolTool Journal |
Fix Released
|
Critical
|
Gediminas Paulauskas |
Bug Description
The following error occurs when trying to view the Journal from the Sections Screen:
Installed on Zentyal 2.3 running on Ubuntu 10.04 Schooltool 2.0
Steps to recreate:
View a newly created section (viewing one term)
Add a Schedule
Click Journal (everything is fine)
View a different term (without leaving the section)
Click Journal (without defining a schedule)
Recieve the following error (if you add a schedule to the term, the error is not generated when trying to view the journal):
An internal server error has occurred. This most likely means that you have found a bug in SchoolTool. Please report it on the issue tracker.
Exception
TypeError: argument of type 'NoneType' is not iterable
Traceback
File "/usr/lib/
result = publication.
File "/usr/lib/
return mapply(ob, request.
File "/usr/lib/
return debug_call(obj, args)
Extra information: <schooltool.
File "/usr/lib/
return obj(*args)
File "/usr/lib/
result = self.render(*args, **kw)
File "/usr/lib/
return self.template(
File "/usr/lib/
return self.im_
File "/usr/lib/
sourceAnnotat
File "/usr/lib/
strictinsert=0, sourceAnnotatio
Template "/usr/lib/
File "/usr/lib/
self.
File "/usr/lib/
handlers[
File "/usr/lib/
self.
File "/usr/lib/
return self.no_tag(start, program)
File "/usr/lib/
self.
File "/usr/lib/
handlers[
File "/usr/lib/
structure = self.engine.
File "/usr/lib/
return expression(self)
Template "/usr/lib/
Expression: <PathExpr standard:
File "/usr/lib/
return self._eval(
File "/usr/lib/
return ob()
File "/usr/lib/
return self.render(*args, **kw)
File "/usr/lib/
render = lambda self, *args, **kw: self.template(
File "/usr/lib/
return self.im_
File "/usr/lib/
showtal=
File "/usr/lib/
strictinsert=0, sourceAnnotatio
File "/usr/lib/
self.
File "/usr/lib/
handlers[
File "/usr/lib/
iterator = self.engine.
File "/usr/lib/
expr = self.evaluate(expr)
File "/usr/lib/
return expression(self)
Template "None", line 3, column 10
Expression: <PathExpr standard:
File "/usr/lib/
return self._eval(
File "/usr/lib/
ob = self._subexprs[
File "/usr/lib/
ob = self._traverser(ob, element, econtext)
File "/usr/lib/
request=request)
File "/usr/lib/
return traversable.
Extra information: (<schooltool.
File "/usr/lib/
attr = getattr(subject, name, _marker)
Extra information: (<schooltool.
File "/usr/lib/
value = func(inst)
File "/usr/lib/
for month_id in self.view.
File "/usr/lib/
value = func(inst)
File "/usr/lib/
return list(self.
File "/usr/lib/
for meeting in self.all_meetings:
File "/usr/lib/
value = func(inst)
File "/usr/lib/
return self.allMeetings()
File "/usr/lib/
insecure_events)
File "/usr/lib/
insecure_
Changed in schooltool: | |
milestone: | none → 2.1.0 |
status: | New → Triaged |
importance: | Undecided → Critical |
Changed in schooltool: | |
assignee: | nobody → Justas Sadzevičius (justas-pov) |
affects: | schooltool → schooltool.lyceum.journal |
Changed in schooltool.lyceum.journal: | |
milestone: | 2.1.0 → none |
milestone: | none → 2.1.0 |
summary: |
- Error When trying to view Journal + Error when section is not scheduled for current term |
Changed in schooltool.lyceum.journal: | |
status: | Triaged → Fix Committed |
assignee: | Justas Sadzevičius (justas-pov) → Gediminas Paulauskas (menesis) |
Changed in schooltool.lyceum.journal: | |
status: | Fix Committed → Fix Released |