phpgroupware-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-tracker] [bugs #8354] problem in the setup/setup.inc.php p


From: Philipp Kamps
Subject: [Phpgroupware-tracker] [bugs #8354] problem in the setup/setup.inc.php processus
Date: Mon, 19 Jul 2004 11:25:32 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040413 Debian/1.6-5

This mail is an automated notification from the bugs tracker
 of the project: phpGroupWare.

/**************************************************************************/
[bugs #8354] Latest Modifications:

Changes by: 
                Philipp Kamps <address@hidden>
'Date: 
                Mon 07/19/04 at 15:22 (GMT)

            What     | Removed                   | Added
---------------------------------------------------------------------------
         Assigned to | fipsfuchs                 | alexbsa


------------------ Additional Follow-up Comments ----------------------------
it is not a problem in the ldap backend.

the setup_demo.php script will delete all accounts in the database when 
creating the new accounts. it is not using
the account backend to do this job :-(

additionally it will delete all contacts which were created by the 
addressmaster (account - contact link). In the delete function of the contacts 
backend could be a problem. It seems that somebody has adapted this function 
already:

function delete($cid, $contact_type='', $transaction=True)
                {
// check for hooks saying "do not delete"
if(!is_object($GLOBALS['phpgw']->hooks) )
{
  $GLOBALS['phpgw']->hooks = createObject('phpgwapi.hooks');
}

Are you still getting the problem?
If you do, lex probably is better in fixing this problem.








/**************************************************************************/
[bugs #8354] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=8354>
Project: phpGroupWare
Submitted by: Caeies
On: Mon 03/29/04 at 11:21

Category:  API - Setup
Item Group:  0.9.16.000 release
Severity:  5 - Average
Priority:  7 - High
Resolution:  None
Assigned to:  alexbsa
Status:  Open
Component Version:  CVS
Platform Version:  GNU/Linux - Debian
Reproducibility:  Every Time
Planned Release:  None
Fixed Release:  


Summary:  problem in the setup/setup.inc.php processus

Original Submission:  Hi,

I will try to be clear :)

In the setup process, when trying to create new people, there is a call at line 
194 to the $contacts->delete() function.

Nothing wrong with this, but it seems that the object $GLOBAL['phpgw']->hooks 
is not yet instantiated and that $contacts->delete() function use it. (at least 
when using LDAP accounts)

So I don't know if this a bug or not (ie instantiated before because your are 
not comming here for the first time but need to setup a new install over an 
existing one ...), but it should be investigated I think :)

Thanks in advance,
regards

Caeies

Follow-up Comments
------------------


-------------------------------------------------------
Date: Mon 07/19/04 at 15:22         By: fipsfuchs
it is not a problem in the ldap backend.

the setup_demo.php script will delete all accounts in the database when 
creating the new accounts. it is not using
the account backend to do this job :-(

additionally it will delete all contacts which were created by the 
addressmaster (account - contact link). In the delete function of the contacts 
backend could be a problem. It seems that somebody has adapted this function 
already:

function delete($cid, $contact_type='', $transaction=True)
                {
// check for hooks saying "do not delete"
if(!is_object($GLOBALS['phpgw']->hooks) )
{
  $GLOBALS['phpgw']->hooks = createObject('phpgwapi.hooks');
}

Are you still getting the problem?
If you do, lex probably is better in fixing this problem.



-------------------------------------------------------
Date: Wed 06/30/04 at 08:56         By: fipsfuchs
I'm on my way to some holidays in turkey. so this one will take a while before 
i fix it (around 3 weeks) - sorry for that.

-------------------------------------------------------
Date: Mon 03/29/04 at 11:22         By: Caeies
Hum I miss the file :)
it is setup/setup_demo.php, sorry :)

Caeies




CC List
-------

CC Address                          | Comment
------------------------------------+-----------------------------
harriv                              | 









For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=8354>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/







reply via email to

[Prev in Thread] Current Thread [Next in Thread]