#1539: Cannot invite a friend to be a member of my community

Type: BugItem Feature: Messages, SocialNetwork Tags: EasyToSolve
ScheduledFor: N/A Assigned to:   Sites:  
Priority: 0 Status: Pending  

Description of the bug

Seens that the problems is in line 60 in app/models/invitation.rb

 58       task_args = if user.nil?
 59         {:person => person, :friend_name => friend_name, :friend_email => friend_email, :message => message}
 60       elsif !user.person.is_a_friend?(person)
 61         {:person => person, :target => user.person}
 62       end

Steps to reproduce

  1. Go to manage members of a community where you is a admin
  2. Click "Invite your friends to join ..."
  3. Enter any mail address of a person already your friend
  4. See that the task was not created
Add comment
You need to login to be able to comment.
 

ActionItemForm edit

Title Cannot invite a friend to be a member of my community
ActionItemType BugItem
Priority Low
Tags EasyToSolve
Feature Messages, SocialNetwork
Plugin
ResponsibleDevelopers
ScheduledFor N/A
AffectsVersion
Status Pending
Ticket SAC:
Topic revision: r5 - 22 May 2015, UnknownUser

irc Talk with Devs Now!

%IF{"$'WIKINAME'!='WikiGuest'" then="

♥ I Care

%DBQUERY{"(topic='^ActionItem[0-9]+') AND whocares=~'WikiGuest' AND Status!='Done' AND Status!='Rejected'" format=" $formfield(Title)" separator="$n---$n" }%
Filter ♥ AIs
"}%

 
Translations: English
Search on Docs:
   
ActionItem Search:

Copyright © 2007-2018 by the Noosfero contributors
Colivre - Cooperativa de Tecnologias Livres