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

#808 closed defect (fixed)

Unexpected error: NoneType object has no attribute 'getEmail'

Reported by: acastill Owned by: acastill
Priority: high Milestone: v0.98.1
Component: Abstracts Version: 0.98-dev
Keywords: Cc:

Description

2011-05-23 15:15:28,798 indico.requestHandler - ERROR base.py:346 -- Request 46912719088848 failed: "'NoneType?' object has no attribute 'getEmail'" url: https://indico.cern.ch:443/abstractDisplay.py?abstractId=400&confId=129980 parameters: {'abstractId': '400', 'confId': '129980'} 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 516, in process self._checkProtection() File "/usr/lib/python2.6/site-packages/indico-0.98_dev-py2.6.egg/MaKaC/webinterface/rh/CFADisplay.py", line 542, in _checkProtection if not self._conf.getAbstractMgr().isInAuthorizedViewList(self._getUser(), self._abstract): File "/usr/lib/python2.6/site-packages/indico-0.98_dev-py2.6.egg/MaKaC/review.py", line 958, in isInAuthorizedViewList if abstract.isSubmitter(user) or self.getAbstractListForAuthorEmail(user.getEmail()): AttributeError?: 'NoneType?' object has no attribute 'getEmail'

Change History (6)

comment:1 Changed 4 years ago by acastill

  • Status changed from new to assigned

comment:2 Changed 4 years ago by acastill

  • Status changed from assigned to in_work

comment:3 Changed 4 years ago by acastill

  • Status changed from in_work to awaiting_merge

comment:4 Changed 4 years ago by jbenito

  • Status changed from awaiting_merge to merging

comment:5 Changed 4 years ago by Alexis Castilla Hernandez <alexis.castilla.hernandez@…>

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

In [2260c6351f5a4e0ba47dccaf6dbf5c62b883d06b/indico]:

[FIX] NoneType? object has no attribute email

  • Add _checkSessionUser() method to _checkProtection method to check if there is a user logged in
  • closes #808

comment:6 Changed 4 years ago by Alexis Castilla Hernandez <alexis.castilla.hernandez@…>

In [2260c6351f5a4e0ba47dccaf6dbf5c62b883d06b/indico]:

[FIX] NoneType? object has no attribute email

  • Add _checkSessionUser() method to _checkProtection method to check if there is a user logged in
  • closes #808
Note: See TracTickets for help on using tickets.