We have moved to Github. Please open tickets there.

Opened 3 years ago

Closed 2 years ago

#1926 closed Defect (fixed)

cannot get group entity when group is invisible when joining group

Reported by: cash Owned by:
Priority: normal Milestone: Elgg 1.8.0
Component: Groups Version: 1.7
Severity: minor Keywords:
Cc: brettp Difficulty: moderate

Description

To reproduce:

  • create invisible group with access set to group only
  • invite someone to join group
  • member joins group and is forwarded to front page

The person should be forwarded to the group profile page with the call: forward($group->getURL());

$group->getURL() is returning an empty string because $entity = get_entity($entity_guid) is failing in get_entity_url().

Change History (5)

comment:1 Changed 3 years ago by brettp

  • Difficulty set to moderate

comment:2 Changed 2 years ago by cash

(In [svn:8576]) Refs #1926 made 'access:collections:add_user', 'collection' plugin hook more useful

comment:3 Changed 2 years ago by cash

(In [svn:8577]) Refs #1926 user is now being added to access collection of invisible group

comment:4 Changed 2 years ago by cash

(In [svn:8579]) Refs #1926 should not be ignoring the flush variable

comment:5 Changed 2 years ago by cash

  • Resolution set to fixed
  • Status changed from new to closed

(In [svn:8581]) Fixes #1926 flushing access list when adding a user to a group

Note: See TracTickets for help on using tickets.