You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openmeetings.apache.org by Maxim Solodovnik <so...@gmail.com> on 2015/02/28 06:28:52 UTC

Re: OpenMeetings-3.0.x - "one-time invitation" gives "This invitation was already used"

can you provide "very detailed" "step by step" description of what are you
doing?
can you try it on our demo server:
https://om.alteametasoft.com/openmeetings/ ?

On Fri, Feb 27, 2015 at 11:52 PM, Susheel Jalali <
Susheel.Jalali@coscendcommunications.com> wrote:

> Dear Maxim and OpenMeetings Developers,
>
> Upon clicking on one-time invitation link sent to them, our participants
> receive the error, "This invitation was already used".
>
> We posted on the OM user forum and received the list of steps to follow.
> We followed those steps , yet we are receiving the same error on two
> servers, one running OpenMeetings 3.0.3 and the other 3.0.4.
>
> We might have to do some coding changes in some of the files and settings
> based on our research on SOAP REST methods and data flow. Since this is
> technical in nature, we are posting these findings in OM Dev (not user)
> forum to seek further guidance.
>
> Could you please give us some technical pointers to eliminate the error
> message?
>
>    · Which method in the SOAP API invitation service of one-time
>    invitation performs the relevant checking, to trigger the error
>    message and display to the user via English.xml?
>    · Is there a patch that needs to be inserted in invitation.java?
>    · Could a network firewall or OS firewall setting activate a bug in
>    OpenMeetings?  (Any changes to CentOS eth0/eth1 files, iptables and
>    routing tables of router?)
>
>
>
> -----------
>
> Our findings
>
> (1) One-time invitation uses the SOAP API "org.openmeetings.app.remote.InvitationService"
> that includes:
>
> a) getInvitation()
>
> b) getInvitationByHashCode()
>
> c) sendInvitationHash()
>
> d) InvitationService Java class
>
> e)  invitation.java .
>
>
> The three valid types of invitation and a method  "setAllowEntry()" are
> defined in:
>
> ~/src/db/java/org/apache/openmeetings/db/entity/room/Invitation.java
>
> public enum Valid {   OneTime, Period, Endless;
>
>         public static Valid fromInt(int valid) {
>
>             return valid == 1 ? Endless : (valid == 2 ? Period : OneTime);
>
>         }
>
>     }
>
> public void setAllowEntry(boolean allowEntry) {
>
>         this.allowEntry = allowEntry;
> }
>
>
> In "english.xml" the corresponding error message has a string id defined
> as:
>
> <string id="534" name="invitation_error">
>
>     <value>This invitation was already used</value>
>
> ----------------
>
> Thank you.
>
> Sincerely,
>
> Susheel Jalali
>
> Customer Operations Leader,
>
> Coscend Communications Solutions
>
> Elite Premio Complex Suite 200 Survey No 7 & 8 Balewadi Pune 411045
> Maharashtra India
>
> _Susheel.Jalali@CoscendCommunications.com_
>
> Web site:www.CoscendCommunications.com <http://www.
> coscendcommunications.com/>
>
> ------------------------------------------------------------------
>
> *Coscend’s**Software Service Factory*
>
> "*Coscend Communications* is ... *pioneering a new approach*to ...
> software applications development, and systems integration."
>
> *Light Reading Network, *December, 2007
>
> "*Coscend*is at the*vanguard of a new evolution*in telco OSS/BSS systems
> integration."
>
> *Caroline Chappell*
> A leading authority in the communications services software industry
>
> "There are *innovative*…*tools*from ... *Coscend *bubbling up, which will
> help accelerate the data consolidation process and reduce its cost."
>
> *Dennis Mendyk, */Editor,/Building a *Telco Service Factory*
>
> ------------------------------------------------------------------
>
> CONFIDENTIALITY NOTICE: See 'Confidentiality Notice Regarding E-mail
> Messages from Coscend Communications Solutions' posted at: http://www.
> CoscendCommunications.com/Terms_and_Conditions.html <http://www.
> coscendcommunications.com/Terms_and_Conditions.html>
>
>
> ----------------
>
> Subject:
> Re: OpenMeetings-3.0.4 - "one-time invitation" gives "Already used"
> From:
> Maxim Solodovnik <so...@gmail.com>
> Date:
> 02/26/15 15:21
>
> To:
> Openmeetings user-list <us...@openmeetings.apache.org>
> CC:
> "IT@CoscendCommunications.com" <IT...@coscendcommunications.com>
>
>
> works for me:
>
> 1) enter the room as admin user
> 2) select Send invitation from the menu
> 3) enter user email
> 4) select Period: one time
> 5) select "generate URL"
> 6) copy/paste the URL to another browser
> Result: everything works as expected
>
>
> On Thu, Feb 26, 2015 at 1:32 PM, Susheel Jalali <Susheel.Jalali@
> coscendcommunications.com <ma...@coscendcommunications.com>>
> wrote:
>
>    Dear Maxim and Fellow Users of OpenMeetings,
>
>    As you requested, we have tested with  OpenMeetings-3.0.4 latest
>    release, yet the invitee receiving the One-Time invitation is unable
>    to access the meeting room even once. It shows the error message box:
>
>            "This invitation was already used".
>
>    We have tested the following three scenarios:
>
>    1. IT Administrator sends the one-time invitation to Internal User.
>    2. IT Administrator sends the one-time invitation to External User.
>    3. External User sends the one-time invitation to Internal User.
>
>    All other invitations (Endless and Period) were working in the above
>    scenarios.  Only  "one-time" invitation did not work in any of the
>    above scenarios.
>
>
>    --
>    Regards,
>
>    Susheel Jalali
>
>    Customer Operations Leader,
>
>    Coscend Communications Solutions
>
>    Elite Premio Complex Suite 200 Survey No 7 & 8 Balewadi Pune 411045
>    Maharashtra India
>
>    _Susheel.Jalali@CoscendCommunications.com
>    <ma...@CoscendCommunications.com>_
>
>    Web site:www.CoscendCommunications.com
>    <http://www.coscendcommunications.com/>
>
>    ------------------------------------------------------------------
>
>
>    =======================
>
>    Subject:
>    Re: OpenMeetings 3.0.3 "one-time invitation" gives "Already used"
>    From:
>    Maxim Solodovnik <so...@gmail.com> <ma...@gmail.com>
>    Date:
>    02/23/15 09:22
>
>    To:
>    Openmeetings user-list <us...@openmeetings.apache.org>
>    <ma...@openmeetings.apache.org>
>    CC:
>    "IT@CoscendCommunications.com" <ma...@CoscendCommunications.com>
>    <IT...@coscendcommunications.com> <ma...@coscendcommunications.com>
>
>
>    Is it reproducible using latest release?
>
>    On Sun, Feb 22, 2015 at 11:15 PM, Susheel Jalali
>    <Susheel.Jalali@coscendcommunications.com
>    <ma...@coscendcommunications.com>> wrote:
>    Dear OpenMeetings Users,
>
>    We are using, on one of our servers,  OpenMeetings version 3.0.3
>    over Centos-6.5.
>
>    When we create an invitation using the "one-time invitation" option,
>    then Generate URL, and Send it using the Send button,
>    the invitation is properly sent to and received by the recipient.
>
>    However, when the recipient uses this URL (either by clicking or by
>    copy-paste) from their browser, they get the following message box
>    error:
>
>    "This invitation was already used".
>
>    We are able to use for the same installation and recipient, the
>    other two modes of invitation (Endless and Period) without any failure.
>    Is there a configuration or any change we need to make.
>
>
>    --
>    Regards,
>
>    Susheel Jalali
>
>    Customer Operations Leader,
>
>    Coscend Communications Solutions
>
>    Elite Premio Complex Suite 200 Survey No 7 & 8 Balewadi Pune 411045
>    Maharashtra India
>
>    _Susheel.Jalali@CoscendCommunications.com
>    <ma...@CoscendCommunications.com>_
>
>    Web site:www.CoscendCommunications.com
>    <http://www.coscendcommunications.com/>
>
>    ------------------------------------------------------------------
>
>
>


-- 
WBR
Maxim aka solomax