bugphpGroupWare - Bugs: bug #23293, Bug saving user account

 
 

You are not allowed to post comments on this tracker with your current authentification level.

bug #23293: Bug saving user account

Submitted by:  Loïc Dayot <ldayot>
Submitted on:  Mon 19 May 2008 10:47:36 AM UTC  
 
Item Group: 0.9.16.012Category: None
Severity: 3 - NormalPriority: 5 - Normal
Status: Ready For TestPrivacy: Public
Assigned to: Caeies <Caeies>Open/Closed: Open
Component Version: DEBOperating System: GNU/Linux - Other
Reproducibility: Every TimePlanned Release: 0.9.16.011+
Fixed Release: 

Wed 21 May 2008 06:05:46 PM UTC, comment #2:

Ok bug confirmed,

Can you test the attached patch ?

Thanks.

Caeies.

(file #15692)

Caeies <Caeies>
Project AdministratorIn charge of this item.
Wed 21 May 2008 09:39:54 AM UTC, comment #1:

Hi Loïc,

I will try to look at this today. I will keep you inform on this problem.

Feel free to join the #phpgroupware chan on irc.

Regards.

Caeies

Caeies <Caeies>
Project AdministratorIn charge of this item.
Mon 19 May 2008 10:47:36 AM UTC, original submission:

GNU/Linux Ubuntu Hardy
PHP 5
MySQL 5
LDAP 3
pg 0.9.16.0.12 from .deb given with Ubuntu HArdy

---

Under an admin account (auth on ldap), when Editing user account, push the "Save" button gives :

Fatal error: Cannot unset string offsets in /usr/share/phpgroupware/phpgwapi/inc/class.accounts_ldap.inc.php on line 819

To fix it, I change the line 519 of /inc/class.accounts_ldap.inc.php :
if (is_array($oldEntry[$key])) unset($oldEntry[$key]['count']);

Loïc Dayot <ldayot>

 

Attached Files
file #15692:  accounts_patch.diff added by Caeies (500B - text/x-patch - patch for solving this first bug)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by Caeies (Posted a comment)
  • -unavailable- added by ldayot
  • -unavailable- added by ldayot (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 21 May 2008 06:05:46 PM UTCCaeiesAttached File-=>Added accounts_patch.diff, #15692
      StatusNone=>Ready For Test
      Planned ReleaseNone=>0.9.16.011+
    Wed 21 May 2008 09:39:54 AM UTCCaeiesAssigned toNone=>Caeies
    Mon 19 May 2008 10:47:37 AM UTCldayotCarbon-Copy-=>Added caeies

    Back to the top


    Powered by Savane 3.1-cleanup