Arrow Home arrow Forums
larger font smaller font default font Fixed screen resolution Auto adjust screen size

Joomlapolis Forums  


2 Bugs: denyConnections / removeConnections
Date: 2007/11/24 14:05 By: ndee Status: CB Doc subscriber  
Karma: 7  
Expert Joomlapolitan

Posts: 145
graphgraph
Hi,

first I thought it was my fault because of modding some pieces of code but now i had the time to test it on an fresh install.

Joomla 1.0.12
CB 1.1

In the standard CB config i modified the following entries:
Code:

 $ueConfig['allowConnections']='1'; $ueConfig['connectionDisplay']='0'; $ueConfig['connectionPath']='1'; $ueConfig['useMutualConnections']='1'; $ueConfig['conNotifyType']='0'; $ueConfig['autoAddConnections']='0'; $ueConfig['connection_categories']='Friend Co Worker';



Scenario:
user B (id 63) requests a connection with user A (id 62); the connection is only in one direction B->A; A has to accept / deny the connection

++++++BUG 1:Manage Connections / Manage Actions

Goto: Your Profile: Connections->Manage Connections Tab: Manage Actions (1)

If you get a connection request the request is pending and the receiving user has to accept or deny it. Denying the pending conn. is not working. If I activate the red cross radio button and click on update I get the Message "Connection actions successful!" BUT the Avatar is still there and the connection is not removed. Accepting the conn. is working btw.


++++++BUG 2: Manage Connections / remove existing Connection

Goto: Your Profile: Connections->Manage Connections Tab: Manage Connections With Me

You are user A: If you have an existing connection and you click on the red cross to remove the connection (above the avatar) you get an alert box "There is no direct connection." and you are redirected to the frontend of your profile.


What I found out so far (bug 2):
If you requested the connection (user B, id 63) and you go to your profile "Manage Connections" you can remove the connection successfully by hitting the red cross. The link looks like
Code:

 http://domain.tld/cbtest/index.php?option=com_comprofiler&act=connections&task=removeConnection& connectionid=62&Itemid=1


so the parameter for the connection id is user A, id 62 (to which user B is connected)

If you are user A, id 62, which received the connection from user B and want to remove the connection you get the above described error (bug 2). The link of the red cross looks the same:
Code:

 http://domain.tld/cbtest/index.php?option=com_comprofiler&act=connections&task=removeConnection& connectionid=62&Itemid=1



Should not there also be the connection id=63? I think so. If you have more then one connection all links looks the same.

--
The second bug should be easy to fix even for me but with the first one I searched hours in the source code without any clue what goes wrong.

Greets,
Andy

Post edited by: ndee, at: 2007/11/24 14:07
Click here to see the profile of this user The administrator has disabled public write access.

Re:2 Bugs: denyConnections / removeConnections
Date: 2008/02/28 10:37 By: cpwom Status: User  
Karma: 0  
Fresh Joomlapolitan

Posts: 1
graphgraph
Anybody else ? I got the same bug .. can't deny a connection. I've modified nothing in the code, and it's not a template issue either. It's strange that nobody posted any suggestion to correct this as it's really a big issue in the system.

thanks in advance.
Cedric
Click here to see the profile of this user The administrator has disabled public write access.

Re:2 Bugs: denyConnections / removeConnections
Date: 2008/09/17 15:57 By: beat Status: Admin  
Karma: 242  
Admin

Posts: 4063
graphgraph
Please see this post threads for fixes:

http://www.joomlapolis.com/component/option,com_joomlaboard/Itemid,38/func,view/catid,50/id,74612/ #74612
Beat - Developer on Community Builder core Team
- If you like CB and this forum, you will love Nick's CB 1.1 reference manual ! : Click here to Get it now
- Would like to help us move faster ? Get it, and/or help us spend more time coding by helping others in this forum, many thanks
Click here to see the profile of this user The administrator has disabled public write access.

Re:2 Bugs: denyConnections / removeConnections
Date: 2008/10/02 13:57 By: beat Status: Admin  
Karma: 242  
Admin

Posts: 4063
graphgraph
Thanks for reporting.

This issue has been addressed and fixed in Community Builder 1.2 RC 3, like all other known issues, and is going now for a last short rounds of live site testings, before CB 1.2 Stable release.

================= ISSUE FIXED ====================
Beat - Developer on Community Builder core Team
- If you like CB and this forum, you will love Nick's CB 1.1 reference manual ! : Click here to Get it now
- Would like to help us move faster ? Get it, and/or help us spend more time coding by helping others in this forum, many thanks
Click here to see the profile of this user The administrator has disabled public write access.

Documentation

Documentation Subscription Service
(updated for CB 1.2 RC2)

What?

Why?

Where?

Just click here for answers!

Click here for a yearly subscription: subscribe now

Download Latest Release

The latest stable Community Builder Release is version 1.1 for Joomla 1.0 and Mambo.
You need to be a registered member of Joomlapolis to download.

The latest release candidate of Community Builder is version 1.2 RC3, native for Joomla 1.0, 1.5 and Mambo.
It is available as "thank you" to all CB documentation subscribers at this time.

CB Login