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

#843 closed defect (fixed)

NoReportError from invalid values in room map time filter allows reporting

Reported by: jmonnich Owned by: jmonnich
Priority: normal Milestone: v0.98.1
Component: General Version:
Keywords: Cc:

Description

ERR-P0
Error processing method.
Inner error: ['Traceback (most recent call last):\n', '  File "/usr/lib/python2.6/site-packages/indico-0.98_dev-py2.6.egg/MaKaC/services/interface/rpc/process.py", line 85, in invokeMethod\n    result = processRequest(method, copy.deepcopy(params), req)\n', '  File "/usr/lib/python2.6/site-packages/indico-0.98_dev-py2.6.egg/MaKaC/services/interface/rpc/process.py", line 53, in processRequest\n    result = handler(params, getSession(req), req).process()\n', '  File "/usr/lib/python2.6/site-packages/indico-0.98_dev-py2.6.egg/MaKaC/services/implementation/base.py", line 229, in process\n    self._checkParams()\n', '  File "/usr/lib/python2.6/site-packages/indico-0.98_dev-py2.6.egg/MaKaC/services/implementation/roomBooking.py", line 88, in _checkParams\n    self._checkParamsRepeatingPeriod(self._params)\n', '  File "/usr/lib/python2.6/site-packages/indico-0.98_dev-py2.6.egg/MaKaC/webinterface/rh/roomBooking.py", line 118, in _checkParamsRepeatingPeriod\n    raise NoReportError(_("The Start Time must be of the form HH:MM and must be a valid time."))\n', 'NoReportError: The Start Time must be of the form HH:MM and must be a valid time.\n']
{'origin': 'https://indico.cern.ch/roomBooking.py/mapOfRoomsWidget', 'params': {'eYear': '2011', 'repeatability': 'None', 'location': 'CERN', 'sYear': '2011', 'sTime': '14.30', 'eDay': '20', 'eTime': '16.30', 'eMonth': '6', 'sMonth': '6', 'sDay': '20'}, 'method': 'roomBooking.rooms.availabilitySearch'}

Change History (4)

comment:1 Changed 4 years ago by jmonnich

  • Status changed from new to assigned

comment:2 Changed 4 years ago by jmonnich

  • Status changed from assigned to awaiting_merge

comment:3 Changed 4 years ago by Adrian Moennich <jerome.ernst.monnich@…>

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

In [d7131fb68ead599b55764e674fbd5374d87fb47d/indico]:

[FIX] Correctly handle NoReportError? in services

  • if a service calls something in the indico core which raises MaKaC.errors.NoReportError? it was not treated as a NoReportError? allowing people to report those errors
  • now those errors are detected and re-raised with the correct class
  • fixes #843

comment:4 Changed 4 years ago by Adrian Moennich <jerome.ernst.monnich@…>

In [d7131fb68ead599b55764e674fbd5374d87fb47d/indico]:

[FIX] Correctly handle NoReportError? in services

  • if a service calls something in the indico core which raises MaKaC.errors.NoReportError? it was not treated as a NoReportError? allowing people to report those errors
  • now those errors are detected and re-raised with the correct class
  • fixes #843
Note: See TracTickets for help on using tickets.