This is a snapshot of Indico's old Trac site. Any information contained herein is most probably outdated. Access our new GitHub site here.

Opened 4 years ago

Closed 4 years ago

#968 closed defect (fixed)

attempts to conferenceTimeTable.py/customizePdf fail for lectures

Reported by: lukasnellen Owned by: arescope
Priority: normal Milestone: v0.98.1
Component: Timetable Version: 0.98-dev
Keywords: Cc:

Description

URLs of the type conferenceTimeTable.py/customizePdf fail for lectures. They should create an html 404 error instead of an exception. It seems search engines will harvest these URLs since they where legal in past version of indico.

The installation is indico 0.98_rc1, recently upgraded from 0.96.2.

Here is a copy of the messages created by the logger:

2012-01-03 14:14:29,645 indico.requestHandler - ERROR base.py:364 -- Request 139962982836176 failed: "class WebFactory? has no attribute 'getTimeTableCustomizePDF'"

url: http://indico.nucleares.unam.mx/conferenceTimeTable.py/customizePdf?showDays=all&showSessions=all&confId=370

parameters: {'showDays': 'all', 'showSessions': 'all', 'confId': '370'}

Traceback (most recent call last):

File "/usr/local/pyenv/indico/lib/python2.7/site-packages/indico-0.98_rc1-py2.7.egg/MaKaC/webinterface/rh/base.py", line 566, in process

res = self._process()

File "/usr/local/pyenv/indico/lib/python2.7/site-packages/indico-0.98_rc1-py2.7.egg/MaKaC/webinterface/rh/conferenceDisplay.py", line 769, in _process

p=wf.getTimeTableCustomizePDF(self, self._target, self._view)

AttributeError?: class WebFactory? has no attribute 'getTimeTableCustomizePDF'

Change History (4)

comment:1 Changed 4 years ago by arescope

  • Owner set to arescope
  • Status changed from new to assigned

comment:2 Changed 4 years ago by arescope

  • Status changed from assigned to awaiting_merge

comment:3 Changed 4 years ago by jbenito

  • Status changed from awaiting_merge to merging

comment:4 Changed 4 years ago by jbenito

  • Resolution set to fixed
  • Status changed from merging to closed
Note: See TracTickets for help on using tickets.