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 5 years ago

Closed 5 years ago

Last modified 5 years ago

#567 closed defect (fixed)

edit room location fails

Reported by: jbenito Owned by: lsyroka
Priority: normal Milestone: v0.97.0
Component: General Version: 0.97.0
Keywords: Cc:

Description

2010-11-08 11:36:51,488 indico.rpc - ERROR json.py:132 -- Service request failed. Request text:
{"version":"1.1","method":"schedule.session.editRoomLocation","params":{"conference":"107080","roomInfo":{},"session":"1","slot":"0"}}

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/cds_indico-0.97_rc2-py2.4.egg/MaKaC/services/interface/rpc/json.py", line 109, in process
    result = invokeMethod(str(requestBody["method"]), requestBody.get("params", []), req)
  File "/usr/lib/python2.4/site-packages/cds_indico-0.97_rc2-py2.4.egg/MaKaC/services/interface/rpc/process.py", line 86, in invokeMethod
    raise ProcessError("ERR-P0", "Error processing method.")
ProcessError: ERR-P0 : Error processing method.

Inner Exception:
Traceback (most recent call last):

  File "/usr/lib/python2.4/site-packages/cds_indico-0.97_rc2-py2.4.egg/MaKaC/services/interface/rpc/process.py", line 67, in invokeMethod
    result = processRequest(method, params, req)

  File "/usr/lib/python2.4/site-packages/cds_indico-0.97_rc2-py2.4.egg/MaKaC/services/interface/rpc/process.py", line 45, in processRequest
    result = handler(params, req.get_remote_host(), getSession(req)).process()

  File "/usr/lib/python2.4/site-packages/cds_indico-0.97_rc2-py2.4.egg/MaKaC/services/implementation/base.py", line 220, in process
    self._checkParams()

  File "/usr/lib/python2.4/site-packages/cds_indico-0.97_rc2-py2.4.egg/MaKaC/services/implementation/schedule.py", line 1198, in _checkParams
    self._entry = self._slot

AttributeError: 'SessionEditRoomLocation' object has no attribute '_slot'

Change History (3)

comment:1 Changed 5 years ago by lsyroka

  • Status changed from new to in_merge

comment:2 Changed 5 years ago by Leszek Syroka <leszek.marek.syroka@…>

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

In [354e0d49db0609973899c5ec9366b5e26a6ac89d]:

[FIX] Edit room location fails

  • if schedule entry id is not sent in json request, it's calculated in the base of conf, session and slot ids.
  • fix#567

comment:3 Changed 5 years ago by Leszek Syroka <leszek.marek.syroka@…>

In [354e0d49db0609973899c5ec9366b5e26a6ac89d]:

[FIX] Edit room location fails

  • if schedule entry id is not sent in json request, it's calculated in the base of conf, session and slot ids.
  • fix#567
Note: See TracTickets for help on using tickets.