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

#893 closed defect (fixed)

contribution change date exception

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

Description

--------------------
User Comments




--------------------
Error details

exception message => Event - Cannot change end date to 2011-07-31 15:15:00+00:00: some entries in the timetable would be outside this date (2011-07-31 15:25:00+00:00)
exception type => <class 'MaKaC.errors.MaKaCError'>
traceback => 
  File "/usr/lib/python2.6/site-packages/indico-0.98_dev-py2.6.egg/MaKaC/webinterface/rh/base.py", line 547, in process
    res = self._processError(e)

  File "/usr/lib/python2.6/site-packages/indico-0.98_dev-py2.6.egg/MaKaC/webinterface/rh/base.py", line 528, in process
    res = self._process()

  File "/usr/lib/python2.6/site-packages/indico-0.98_dev-py2.6.egg/MaKaC/webinterface/rh/contribMod.py", line 766, in _process
    self._target.setValues(params)

  File "/usr/lib/python2.6/site-packages/indico-0.98_dev-py2.6.egg/MaKaC/conference.py", line 7815, in setValues
    check=2)

  File "/usr/lib/python2.6/site-packages/indico-0.98_dev-py2.6.egg/MaKaC/conference.py", line 8205, in setStartDate
    self.verifyStartDate(newDate, check)

  File "/usr/lib/python2.6/site-packages/indico-0.98_dev-py2.6.egg/MaKaC/conference.py", line 8188, in verifyStartDate
    owner.setEndDate(sDate + self.getDuration(),check)

  File "/usr/lib/python2.6/site-packages/indico-0.98_dev-py2.6.egg/MaKaC/conference.py", line 2973, in setEndDate
    self.verifyEndDate(eDate)

  File "/usr/lib/python2.6/site-packages/indico-0.98_dev-py2.6.egg/MaKaC/conference.py", line 2961, in verifyEndDate
    raise MaKaCError(_("Cannot change end date to %s: some entries in the timetable would be outside this date (%s)") % (edate,self.getSchedule().getEntries()[-1].getStartDate()), _("Event"))

request handler => MaKaC.webinterface.rh.contribMod.RHContributionModifData
url => https://indico.cern.ch:443/contributionModification.py/modifData?contribId=8&confId=148617
parameters => 
ok = ok
description = 
title = QA results
durMins = 15
duration = 15
dateTime = 31/07/2011 17:00
sMinute = 0
contribId = 8
sHour = 17
keywords = 
sMonth = 7
sDay = 31
sYear = 2011
confId = 148617
headers => 
X-FORWARDED-SERVER: indico.cern.ch
COOKIE: _saml_idp=aHR0cHM6Ly9jZXJuLmNoL2xvZ2lu; MAKACSESSION=DFB390B795C63414; _shibsession_64656661756c7468747470733a2f2f696e6469636f2e6365726e2e63682f53686962626f6c6574682e73736f2f41444653=_700019e1be6ea20b616845c3dc57dd86
X-FORWARDED-HOST: indico.cern.ch
ACCEPT-CHARSET: ISO-8859-1,utf-8;q=0.7,*;q=0.7
USER-AGENT: Mozilla/5.0 (Windows NT 5.1; rv:2.0.1) Gecko/20100101 Firefox/4.0.1
CONNECTION: Keep-Alive
REFERER: https://indico.cern.ch/contributionModification.py/data?contribId=8&amp;confId=148617
HOST: indico.cern.ch
ACCEPT: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
X-FORWARDED-FOR: 128.141.103.177
ACCEPT-LANGUAGE: en-us,en;q=0.5
ACCEPT-ENCODING: gzip, deflate
content-length: 89
content-type: application/x-www-form-urlencoded
user => [8450] GAZDZICKI, Marek <marek.gazdzicki@cern.ch>
--------------------

Change History (5)

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 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 [17b50f207f50b9811de96a7cfdb853cc5beffda6/indico]:

[FIX] Contribution change date exception.

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

In [17b50f207f50b9811de96a7cfdb853cc5beffda6/indico]:

[FIX] Contribution change date exception.

Note: See TracTickets for help on using tickets.