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

#426 closed defect (fixed)

Registration form: removing fields

Reported by: jbenito Owned by: lsyroka
Priority: very low Milestone: v0.97.0
Component: Registration form Version: 0.97.0
Keywords: Cc:

Description

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

Hi guys,

if we press the remove button to remove a field, but without selecting any field first, it raises an error.

Cheers,
David


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

exception message => iteration over non-sequence
exception type => exceptions.TypeError
traceback => 
  File "/usr/lib/python2.4/site-packages/cds_indico-0.97b2-py2.4.egg/MaKaC/webinterface/rh/base.py", line 475, in process
    res = self._process()

  File "/usr/lib/python2.4/site-packages/cds_indico-0.97b2-py2.4.egg/MaKaC/webinterface/rh/registrationFormModif.py", line 859, in _process
    r = self._action.perform()

  File "/usr/lib/python2.4/site-packages/cds_indico-0.97b2-py2.4.egg/MaKaC/webinterface/rh/registrationFormModif.py", line 584, in perform
    for fieldID in self._fields:

request handler => <class 'MaKaC.webinterface.rh.registrationFormModif.RHRegistrationFormModifGeneralSectionFieldProcess'>
url => http://indico.cern.ch/confModifRegistrationForm.py/removeGeneralField?sectionFormId=0&confId=86923
parameters => 
sectionFormId = 0
oldpos = 
remove = remove
confId = 86923
headers => 
Host: indico.cern.ch
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; fr; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 GTB7.0 ( .NET CLR 3.5.30729)
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en,fr;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Referer: http://indico.cern.ch/confModifRegistrationForm.py/modifGeneralSection?sectionFormId=0&amp;confId=86923
--------------------

Change History (4)

comment:1 Changed 5 years ago by lsyroka

  • Owner set to lsyroka
  • Status changed from new to accepted

comment:2 Changed 5 years ago by pferreir

  • Status changed from in_work to in_merge

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

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

In [c86ca92fdcd0468fec4c24f91c8d0923605f35fc]:

[FIX] Registration form removing fields

  • problem occuring when trying to remove field without selecting any was solved
  • fix#426

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

In [c86ca92fdcd0468fec4c24f91c8d0923605f35fc]:

[FIX] Registration form removing fields

  • problem occuring when trying to remove field without selecting any was solved
  • fix#426
Note: See TracTickets for help on using tickets.