Changeset 2cffcc in indico


Ignore:
Timestamp:
10/21/10 10:33:56 (3 years ago)
Author:
Jose Benito <jose.benito.gonzalez@…>
Branches:
new-webex
Children:
7fb95e
Parents:
54fef7
git-author:
Kevin Flannery <flannery@…> (05/28/10 17:11:14)
git-committer:
Jose Benito <jose.benito.gonzalez@…> (10/21/10 10:33:56)
Message:

Fixed fossilization for participants. Participants now works

Location:
indico/MaKaC/plugins/Collaboration/WebEx
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • indico/MaKaC/plugins/Collaboration/WebEx/collaboration.py

    r54fef7 r2cffcc  
    4646 
    4747from MaKaC.plugins.Collaboration.WebEx.fossils import ICSBookingIndexingFossil, ICSBookingConfModifFossil 
    48 from MaKaC.common.fossilize import fossilizes 
     48from MaKaC.common.fossilize import fossilizes, fossilize 
    4949from MaKaC.plugins.Collaboration.fossils import ICSBookingBaseConfModifFossil 
    5050 
     
    114114    def getParticipants(self): 
    115115        Logger.get('WebEx').debug( "In getParticipants" ) 
    116         return self.getParticipantList(sorted = True) 
     116        return fossilize(self.getParticipantList(sorted = True)) 
    117117         
    118118    def setParticipants(self, participants): 
     
    262262        if self._created: 
    263263############### 
    264             self._canBeStarted = True 
    265             return True  
     264#            self._canBeStarted = True 
     265#            return True  
    266266##########Remove above here; in for testing 
    267267            now = nowutc() 
     
    570570            except WebExControlledException, e:                 
    571571                raise WebExException(_("Information could not be retrieved due to a problem with the EVO Server\n.The EVO Server sent the following error message: ") + e.message, e) 
     572            return None 
    572573 
    573574    def _delete(self): 
     
    634635#                        Logger.get('EVO').error( 
    635636#                            """Could not send EVOMeetingRemovalNotificationManager for booking with id %s , exception: %s""" % (self._id, str(e))) 
    636                  
     637 
    637638            except WebExControlledException, e:                 
    638639                if e.message == "DELETE_MEETING_OVER": 
     
    644645                else: 
    645646                    return WebExError( userMessage = "The booking could not be deleted due to a problem with the WebEx Server" ) 
    646                     raise WebExException(_("The booking could not be deleted due to a problem with the EVO Server\n.The EVO Server sent the following error message: ") + e.message, e) 
     647#                    raise WebExException(_("The booking could not be deleted due to a problem with the EVO Server\n.The EVO Server sent the following error message: ") + e.message, e) 
    647648                 
    648649        self._error = False 
     650        return None 
    649651         
    650652         
  • indico/MaKaC/plugins/Collaboration/WebEx/common.py

    r54fef7 r2cffcc  
    167167        return "WebEx Error: " + str(self._errorType) + " for request " + str(self._requestURL) 
    168168         
    169 #class Participant(Persistent, Fossilizable): 
    170169class Participant(Persistent,Fossilizable): 
    171170    fossilizes(IParticipantFossil) 
     
    224223            result.append(self._affiliation) 
    225224            result.append(')') 
    226         return ("".join(result))[:31] #31 is the max length accepted by the MCU 
     225        return ("".join(result)) 
    227226     
    228227class OverlappedError(WebExError): 
  • indico/MaKaC/plugins/Collaboration/WebEx/fossils.py

    r54fef7 r2cffcc  
    5252    def getId(self): 
    5353        pass 
    54     getId.name = "participantId" 
     54#    getId.name = "participantId" 
    5555 
    5656    def getParticipantName(self): 
    5757        pass 
    58  
    59 #    def getDisplayName(self): 
    60 #        pass 
    61  
    62     def getParticipantType(self): 
    63         pass 
    64  
    65 #    def getParticipantProtocol(self): 
    66 #        pass 
    67  
    68 #    def getCallState(self): 
    69 #        pass 
    7058 
    7159    def getTitle(self): 
Note: See TracChangeset for help on using the changeset viewer.