When creating content using the node links block you are never taken through to the newly created node. From some IRC discussion I'm led to believe the culprit is something to do with the NULL portion of line 220 of the og_extras module.

$content = og_node_create_links($group['group_type'], $group['gid'], OG_AUDIENCE_FIELD, NULL, $types);

Does anyone have a workaround to get this fixed?

Thanks in advance.
Ben.

Comments

bnicoll’s picture

Priority: Major » Critical

Not sure if this will help shed some light on the issue - but a suggested fix on a separate issue... which i couldn't get to work - #1795290: Remove destination from the link

Any help appreciated.

Thanks,
B.

eojthebrave’s picture

Priority: Critical » Normal
Status: Active » Closed (duplicate)

This is the intended behaviour of the module. To redirect the user to back to the page they are currently on rather than to the new node. I've started to look in to making this a configurable option in this issue #1795290: Remove destination from the link

The NULL portion of the og_node_create_links() function "is" the culprit in this case, but the function is also currently broken so it doesn't matter what you pass to the function as $destination it'll be ignored. #1848028: The $destination paramater for the og_node_create_links function is not used

Closing this issue as a duplicate that will get resolved in the above mentioned issue once the problem w/ og_node_create_links() is sorted out.