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

 
 

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

bug #23293: Bug saving user account

Submitter:  Loïc Dayot <ldayot>
Submitted:  Mon 19 May 2008 10:47:36 AM UTC
   
 
Category:  None Item Group:  0.9.16.012
Severity:  3 - Normal Priority:  5 - Normal
Status:  Ready For Test Privacy:  Public
Assigned to:  Caeies Open/Closed:  Open
Component Version:  DEB Operating System:  GNU/Linux - Other
Reproducibility:  Every Time Planned 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>
Group administrator
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>
Group administrator
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>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

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
  • -email is unavailable- added by Caeies (Posted a comment)
  • -email is unavailable- added by ldayot
  • -email is unavailable- added by ldayot (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-05-21 Caeies Attached File- Added accounts_patch.diff, #15692
        StatusNone Ready For Test
        Planned ReleaseNone 0.9.16.011+
    2008-05-21 Caeies Assigned toNone Caeies
    2008-05-19 ldayot Carbon-Copy- Added caeies

    Back to the top

    Powered by Savane 3.13-5190.
    Corresponding source code