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

#450 closed defect (fixed)

Bug when not logged in and trying to upload files to a meeting

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

Description

2010-06-14 11:29:23,402 indico.requestHandler - ERROR base.py:326

Request 47521673666192 failed: "'NoneType' object has no attribute 'getAccessKey'"

url: http://indico.cern.ch/getFile.py/access?categId=2575&resId=10&materialId=2

parameters: {'categId': '2575', 'resId': '10', 'materialId': '2'}

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/cds_indico-0.97_rc1-py2.4.egg/MaKaC/webinterface/rh/base.py", line 468, in process
    self._checkProtection()
  File "/usr/lib/python2.4/site-packages/cds_indico-0.97_rc1-py2.4.egg/MaKaC/webinterface/rh/fileAccess.py", line 42, in _checkProtection
    RHDisplayBaseProtected._checkProtection( self )
  File "/usr/lib/python2.4/site-packages/cds_indico-0.97_rc1-py2.4.egg/MaKaC/webinterface/rh/base.py", line 774, in _checkProtection
    if target.getAccessKey() != "" or target.getConference().getAccessKey() != "":
AttributeError: 'NoneType' object has no attribute 'getAccessKey'

Change History (5)

comment:1 Changed 5 years ago by lsyroka

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

comment:2 Changed 5 years ago by lsyroka

  • Status changed from assigned to in_work

comment:3 Changed 5 years ago by lsyroka

  • Status changed from in_work to in_merge

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

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

In [3be749e8b553d2622243c79da858f9f8d0151132]:

[FIX] Accessing protected files while not logged

  • accessing esources and materials while not logged redirects to sign in website
  • fix#450

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

In [3be749e8b553d2622243c79da858f9f8d0151132]:

[FIX] Accessing protected files while not logged

  • accessing esources and materials while not logged redirects to sign in website
  • fix#450
Note: See TracTickets for help on using tickets.