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

Last modified 4 years ago

#883 closed defect (fixed)

Room Booking from crash if not room passed

Reported by: arescope Owned by: arescope
Priority: critical Milestone: v0.98.1
Component: Room Booking Version:
Keywords: Cc:

Description

For v0.98b1

2011-07-25 14:06:29,562 indico.requestHandler - ERROR base.py:346 -- Request 46912718496272 failed: "'roomID'"

url: https://indico.cern.ch:443/roomBooking.py/bookingForm

parameters: {}

Traceback (most recent call last):

File "/usr/lib/python2.6/site-packages/indico-0.98_dev-py2.6.egg/MaKaC/webinterface/rh/base.py", line 514, in process

self._checkParams( self._reqParams )

File "/usr/lib/python2.6/site-packages/indico-0.98_dev-py2.6.egg/MaKaC/webinterface/rh/roomBooking.py", line 1237, in _checkParams

candResv = self._loadResvCandidateFromDefaults( params )

File "/usr/lib/python2.6/site-packages/indico-0.98_dev-py2.6.egg/MaKaC/webinterface/rh/roomBooking.py", line 519, in _loadResvCandidateFromDefaults

roomID = int( paramsroomID? )

KeyError?: 'roomID'

Change History (5)

comment:1 Changed 4 years ago by arescope

  • Status changed from new to assigned

comment:2 Changed 4 years ago by arescope

  • Status changed from assigned to in_work

comment:3 Changed 4 years ago by arescope

  • Status changed from in_work to awaiting_merge

comment:4 Changed 4 years ago by Alberto Resco Perez <alberto.resco.perez@…>

  • Resolution set to fixed
  • Status changed from awaiting_merge to closed

In [70b2fa908a978a6aaf838823f62d625b737e0bb0/indico]:

[FIX] Room Booking from crash if not room

  • Check if roomID and roomLocation are pass in the request.
  • Closes #883

comment:5 Changed 4 years ago by Alberto Resco Perez <alberto.resco.perez@…>

In [70b2fa908a978a6aaf838823f62d625b737e0bb0/indico]:

[FIX] Room Booking from crash if not room

  • Check if roomID and roomLocation are pass in the request.
  • Closes #883
Note: See TracTickets for help on using tickets.