Content propogation only 1 level down

moshe weitzman - December 11, 2008 - 15:45
Project:Subgroups for Organic groups
Version:6.x-0.x-dev
Component:Code
Category:support request
Priority:normal
Assigned:Amitaibu
Status:postponed (maintainer needs more info)
Description

Just playing with this and a I am seeing that content only propogates one group downwards. I expected it to propogate more levels. I looked at the simpletest and it just checks for single level propogation.

User propogation worked less well. It worked for only the first child group and not the other children and not grandchildren. Admin rights did not seem to propogate despite my configuring it to. My hierarchy:

   * Book
   *  |- Node 0 (group node)
   *    |- Node 2 (group node)
   *     |- Node 3 (group node)
   *    |- Node 4 (group node)
   *
   */

#1

Amitaibu - December 12, 2008 - 18:43
Assigned to:Anonymous» Amitaibu

Indeed, there is some problem near

<?php
     
// Get the menu from root down.
     
$menu = menu_tree_all_data($group_node->book['menu_name'], $group_node->book);
?>

I'll check it.

#2

Amitaibu - December 12, 2008 - 20:07

I'm having problems with my CVS account - Ezra, can you please commit.

Commit message:

#345788 by Amitaibu: Collect the groups for propagation more then 1 level, and update tests. Also fix user propagation logic.

AttachmentSize
345788_2_incorrect_propagation.patch 12.9 KB

#3

Amitaibu - December 15, 2008 - 21:40
Status:active» fixed

Fixed - http://drupal.org/cvs?commit=159068

#4

System Message - December 29, 2008 - 21:50
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

#5

R.Hendel - February 6, 2009 - 10:14
Status:closed» active

The patch could not be applied for 6.x-0.x-dev and Drupal 6.9.
We have the problem, that there is absolutely no content deligation.

We have a group structure like this.
  * Book
  *  |- Level 1
  *    |- Level 2 Post 2.1.
  *      |- Level 3 Post 3.1.
  *    |- Level 2 Post 2.1.
  *      |- Level 3 Post 3.1.
We tried all possible content deligations:

  • "parent"
  • "child"
  • "siblings"
  • "all activated" and
  • "nothing activated"

After changing propagation options we always

  • flushed all cashes and
  • rebuilt permissions

I switch state of issue back to active because there were absolutely no differences:
in every level were shown every nodes!
We try to use parent propagation, so that content from deepest levels is only visible in that deepest level.
content from highest level should be visible in all levels.

Has anyone an idea?

#6

Amitaibu - February 7, 2009 - 09:43
Status:active» postponed (maintainer needs more info)

You don't need to apply the patch - it's already committed.
Is Level 1 the group node?

 
 

Drupal is a registered trademark of Dries Buytaert.