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

Andun Sameera Liyanagunawardana edited comment on OPENMEETINGS-481 at 4/9/13 
7:57 PM:
--------------------------------------------------------------------------------------

Hi Maxim,

I have tried to send a invitation by clicking on the the Calender and Filling 
the New Event dialog. In that scenario when user enters the room the name is 
displayed correctly as his email address. So the logic there have to be correct.

When a new event is saved on calender following methods are called,

Calendarservice.saveAppointment - > AppointmentLogic.saveAppointment - > For 
the list of attendees, MeetingMemberLogic.addMeetingMember 

Invitation is created inside the addMeetingMember method based on iCal type or 
Simple mail type. In both cases firstname , lastname of the Invitee are 
assigned correctly.

When we send the invitation via New Mail Composing, Following methods is called 
Userservice.composeMail. In that mail following invitation is created,

Invitations invitation = invitationManager.addInvitationLink(
new Long(2), // userlevel
from.getFirstname() + " "+ from.getLastname(), // username
message,
baseURL, // baseURl
from.getAdresses().getEmail(), // email
subject, // subject
room_id, // room_id
"public",
false, // passwordprotected
"", // invitationpass
2, // valid type
appointmentstart, // valid from
appointmentend, // valid to
from.getUser_id(), // created by
baseURL, from.getUser_id(),
false, // really send mail sendMail
appointmentstart, 
appointmentend,
appointmentId, 
from.getFirstname()+ " " + from.getLastname(),
from.getOmTimeZone()
);

Here you can see user name of the invitation is assigned by from.getFirstname() 
+ " "+ from.getLastname()  where from represent the person who send the 
invitation.

The invitation link is generated as follows using the above invitation and send 
embedded with invitation.

invitation_link = baseURL + "?invitationHash="+ invitation.getHash();

So that is the issue here. We are sending invitation hash value which was 
created using the inviter's details. Am I correct ? 

Thanks
AndunSLG

                
      was (Author: andunslg):
    Hi Maxim,

I have tried to send a invitation by clicking on the the Calender and Filling 
the New Event dialog. In that scenario when user enters the room the name is 
displayed correctly as his email address. So the logic there have to be correct.

When a new event is saved on calender following methods are called,

Calendarservice.saveAppointment - > AppointmentLogic.saveAppointment - > For 
the list of attendees, MeetingMemberLogic.addMeetingMember 

Invitation is created inside the addMeetingMember method based on iCal type or 
Simple mail type. In both cases firstname , lastname of the Inviteeare assigned 
correctly.

When we send the invitation via New Mail Composing, Following methods is called 
Userservice.composeMail. In that mail following invitation is created,

Invitations invitation = invitationManager.addInvitationLink(
new Long(2), // userlevel
from.getFirstname() + " "+ from.getLastname(), // username
message,
baseURL, // baseURl
from.getAdresses().getEmail(), // email
subject, // subject
room_id, // room_id
"public",
false, // passwordprotected
"", // invitationpass
2, // valid type
appointmentstart, // valid from
appointmentend, // valid to
from.getUser_id(), // created by
baseURL, from.getUser_id(),
false, // really send mail sendMail
appointmentstart, 
appointmentend,
appointmentId, 
from.getFirstname()+ " " + from.getLastname(),
from.getOmTimeZone()
);

Here you can see user name of the invitation is assigned by from.getFirstname() 
+ " "+ from.getLastname()  where from represent the person who send the 
invitation.

The invitation link is generated as follows using the above invitation and send 
embedded with invitation.

invitation_link = baseURL + "?invitationHash="+ invitation.getHash();

So that is the issue here. We are sending invitation hash value which was 
created using the inviter's details. Am I correct ? 

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 "[email protected], [email protected], [email protected]" and 
> point to the need for room reserve. In my profile my email address is 
> "[email protected]". When the user clicks the link and enter the room, he is 
> referred to my email, namely "[email protected]". 10 people in the room and 
> they all have a name "[email protected]" 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

Reply via email to