cancel
Showing results for 
Search instead for 
Did you mean: 

Share invite problem

nimbus58
Champ in-the-making
Champ in-the-making
I just moved this post

I am running Alfresco on Ubuntu/Tomcat/mysql. (version Labs 3b)
I have no trouble with the share interface but I cannot invite anyone.
I can send an invite.
The Email is sent with the "accept" link (no subject though).
When I click on the link to accept or reject I get a 404 response with a description
The requested resource (/share//alfresco/service/api/inviteresponse/accept) is not available.

I tried removing the double / after the /share but I have the same result.
I have no idea where to check.
I am missing something?
6 REPLIES 6

nimbus58
Champ in-the-making
Champ in-the-making
Not finding any solutions, I have setup a new machine with the same config: Ubuntu/Mysql/labs 3B.
I did a complete restore of the DB and the repository (good exercise!) and tried again.

I created a new site in Share.
Invited a user.
The user receives the "Invitation to Alfresco Share Site <site name>.
The link under the "To accept the invation …" is like this:
http://<server name>:8080/share//alfresco/service/api/inviteresponse/accept?format=html&inviteId=6&inviteeUserName=pas&siteShortName=<site name>

I have tried adapting the url but I am getting nowhere and cannot find any info on how to fix this.

Any help welcomed,
Thanks

mikeh
Star Contributor
Star Contributor
That looks like a bug - possibly fixed in the Enterprise branch, which is due to be merged back to HEAD soon.

The URL should be
http://<server name>:8080/alfresco/service/api/inviteresponse/accept?format=html&inviteId=6&inviteeUserName=pas&siteShortName=<site name>

Mike

nimbus58
Champ in-the-making
Champ in-the-making
Thanks Mike,

Unfortunatly, the url:
http://<server name>:8080/alfresco/service/api/inviteresponse/accept?format=html&inviteId=6&inviteeUserName=pas&siteShortName=<site name>
does not work either (Bug!)

I cannot seem to find which webscript is supposed to fire either or even from which script/template the invitation email comes from.
It starts with:
Dear <User>,

You have been invited to join a site on Alfresco Share: rdv

To accept the invitation to join the site 'rdv', please follow this link:
Any ideas?

mikeh
Star Contributor
Star Contributor
Actually, that's an HTTP PUT webscript, so you can't run it directly from the browser.

It should be called from the component at the original link, which should look something like:
http://<server>/share/page/accept-invite?inviteId=jbpm$125&inviteeUserName=mikeh&siteShortName=test&inviteTicket=abcd1234-etc.

Mike

nimbus58
Champ in-the-making
Champ in-the-making
Thanks Mike,

I am planning on going for the Enterprise version but wanted to test the Version 3 before.
Hope that bug is gone then.

boy412
Champ in-the-making
Champ in-the-making
I can verify that this "bug" has been addressed in the Enterprise version. Inviting outside users was definitely broken in Labs3b.

Good luck…