Translations: English
Search on Docs:
ActionItem Search:

#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
ScheduledFor N/A
Status Pending
Ticket SAC:
Topic revision: r1 - 22 May 2015, UnknownUser

irc Talk with Devs Now!

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