Select a term/year - error if section is not scheduled for that term
Bug #868421 reported by
Tom Hoffman
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SchoolTool Journal |
Fix Released
|
High
|
Justas Sadzevičius |
Bug Description
Perhaps the menu should be smarter.
Changed in schooltool.lyceum.journal: | |
importance: | Undecided → High |
status: | New → Triaged |
tags: | added: traceback |
Changed in schooltool.lyceum.journal: | |
status: | Triaged → Fix Committed |
Changed in schooltool.lyceum.journal: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Term or year.
To reproduce, create a new schoolyear, go to journal, and select the new schoolyear.
Traceback
File "/home/ menesis/ .buildout/ eggs/zope. publisher- 3.12.6- py2.7.egg/ zope/publisher/ publish. py", line 132, in publish callObject( request, obj) menesis/ .buildout/ eggs/zope. app.publication -3.13.2- py2.7.egg/ zope/app/ publication/ zopepublication .py", line 207, in callObject getPositionalAr guments( ), request) menesis/ .buildout/ eggs/zope. publisher- 3.12.6- py2.7.egg/ zope/publisher/ publish. py", line 107, in mapply skin.flourish. zcml_content. FlourishLyceumS ectionJournalVi ew_index. html object at 0xdd19fcc> menesis/ .buildout/ eggs/zope. publisher- 3.12.6- py2.7.egg/ zope/publisher/ publish. py", line 113, in debug_call menesis/ src/schooltool/ flourish/ src/schooltool/ src/schooltool/ skin/flourish/ page.py" , line 68, in __call__ menesis/ src/schooltool/ flourish/ src/schooltool. lyceum. journal/ src/schooltool/ lyceum/ journal/ browser/ journal. py", line 715, in update menesis/ .buildout/ eggs/zope. cachedescriptor s-3.5.1- py2.7.egg/ zope/cachedescr iptors/ property. py", line 71, in __get__ menesis/ src/schooltool/ flourish/ src/schooltool. lyceum. journal/ src/schooltool/ lyceum/ journal/ browser/ journal. py", line 436, in all_meetings menesis/ src/schooltool/ flourish/ src/schooltool. lyceum. journal/ src/schooltool/ lyceum/ journal/ browser/ journal. py", line 421, in allMeetings roxy(self. selected_ term) menesis/ .buildout/ eggs/zope. cachedescriptor s-3.5.1- py2.7.egg/ zope/cachedescr iptors/ property. py", line 71, in __get__ menesis/ src/schooltool/ flourish/ src/schooltool. lyceum. journal/ src/schooltool/ lyceum/ journal/ browser/ journal. py", line 490, in selected_term dTerm() menesis/ src/schooltool/ flourish/ src/schooltool. lyceum. journal/ src/schooltool/ lyceum/ journal/ browser/ journal. py", line 818, in getSelectedTerm menesis/ .buildout/ eggs/zope. container- 3.12.0- py2.7-linux- i686.egg/ zope/container/ btree.py" , line 105, in __getitem__ tainer_ _data[key]
result = publication.
File "/home/
return mapply(ob, request.
File "/home/
return debug_call(obj, args)
Extra information: <schooltool.
File "/home/
return obj(*args)
File "/home/
self.update()
File "/home/
meetings = self.all_meetings
File "/home/
value = func(inst)
File "/home/
return self.allMeetings()
File "/home/
term = removeSecurityP
File "/home/
value = func(inst)
File "/home/
return self.getSelecte
File "/home/
term = terms[term_id]
File "/home/
return self._SampleCon
KeyError: u'2011-fall'