You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openmeetings.apache.org by "Andun Sameera Liyanagunawardana (JIRA)" <ji...@apache.org> on 2013/04/09 01:36:18 UTC

[jira] [Comment Edited] (OPENMEETINGS-481) When I reserve a room by sending an email, users who connected to this link from an email have the same email address as me

    [ https://issues.apache.org/jira/browse/OPENMEETINGS-481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13625981#comment-13625981 ] 

Andun Sameera Liyanagunawardana edited comment on OPENMEETINGS-481 at 4/8/13 11:35 PM:
---------------------------------------------------------------------------------------

Hi,

I have further looked at the code and found this. When a a unregistered user get in to OM by clicking the link provided in the mail, following code in /singlewebapp/WebContent/src/modules/invitation/invitationQuickLoader.lzx executes,

canvas.setAttribute('currentuser',canvas.thishib.currentInvitation.invitedEMail);
        	canvas.setAttribute('user_id',-1);
        	canvas.setAttribute('firstName',"");
        	canvas.setAttribute('lastName',canvas.thishib.currentInvitation.invitedEMail);	
        	canvas.setAttribute('mail',canvas.mail);
        	canvas.setAttribute('lastLogin','');
        	canvas.setAttribute('official_code','');
        	canvas.setAttribute('picture_uri','');
        	canvas.setAttribute('language','');					

This shows that we are assigning the inviter's mail as the currentuser. So is it correct to do like that ?

Thanks
AndunSLG
                
      was (Author: andunslg):
    Hi,

I have further looked at the code and found this. When a a unregistered user get in to OM by clicking the link provided in the mail, following code in /singlewebapp/WebContent/src/modules/invitation/invitationQuickLoader.lzx executes,

                canvas.setAttribute('currentuser',canvas.thishib.currentInvitation.invitedEMail);
        	canvas.setAttribute('user_id',-1);
        	canvas.setAttribute('firstName',"");
        	canvas.setAttribute('lastName',canvas.thishib.currentInvitation.invitedEMail);	
        	canvas.setAttribute('mail',canvas.mail);
        	canvas.setAttribute('lastLogin','');
        	canvas.setAttribute('official_code','');
        	canvas.setAttribute('picture_uri','');
        	canvas.setAttribute('language','');			

This shows that we are assigning the inviter's mail as the currentuser. So is it correct to do like that ?

Thanks
AndunSLG
                  
> When I reserve a room by sending an email, users who connected to this link from an email have the same email address as me
> ---------------------------------------------------------------------------------------------------------------------------
>
>                 Key: OPENMEETINGS-481
>                 URL: https://issues.apache.org/jira/browse/OPENMEETINGS-481
>             Project: Openmeetings
>          Issue Type: Bug
>          Components: UI
>    Affects Versions: 2.0.0 Apache Incubator Release
>         Environment: Ubuntu Server 12.10 (3.5.0-17)
>            Reporter: Yuriy
>            Assignee: SebastianWagner
>            Priority: Critical
>              Labels: bug, reservations, room
>         Attachments: Accessing the Room Via the button in Mail.png, Dashboard Displayed.png, New User in Conference.png, Received Email.png, Sending the Invitation Mail.png, The Conference.png
>
>   Original Estimate: 612h
>  Remaining Estimate: 612h
>
> When I reserve a room by sending an email, users who connected to this link from an email have the same email address as me
> I go to the messages section, select "new message", in block "destination" (i used russian version and not sure that in English it is called the same) write, for example "ivanov@mail.ru, petrov@mail.ru, sidorov@mail.ru" and point to the need for room reserve. In my profile my email address is "sokolov@mail.ru". When the user clicks the link and enter the room, he is referred to my email, namely "sokolov@mail.ru". 10 people in the room and they all have a name "sokolov@mail.ru" in the block "participants". All of them.
> Please help
> P.S. I am really sorry for my terrible English!!!

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira