Re: Modifying group in version 0.7.2
Peter Termaten <[email protected]> Tue, 03 Jun 2003 09:53:39 +0200
| Newsgroups | gmane.comp.cms.phpslash.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Joe, The version I use says 1.147 in the header of functions.inc and contains the code as shown in the cvsdiff for 1.141. Obviously, the new code does not change the behaviour. I can fix the problem in the database manually, but I guess it should be fixed in the code somehow. Let me know if I can be of any help. Cheers, Peter At 23:17 02-06-2003, Joe Stewart wrote: >On Mon, Jun 02, 2003 at 10:35:55PM +0200, Peter Termaten wrote: > > Hi all, > > > > I'm implementing phpSlash and I noticed some strange behaviour when > > updating a group: > > > > When I'm adding a permission to an existing group, psl creates a new > > (empty) psl_group record and new records for psl_group_permission_lut for > > this newly created group. > > > > It does not update the group as requested. > > > > The result is an inconsistent set of records, causing weird behaviour of > > the application and mysql 1062 errors. > > > > Am I doing something wrong or is this a bug? > > > >Seems to be this change to function clean() in functions.inc: > >http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/phpslash/phpslash-ft/class/functions.inc.diff?r1=1.140&r2=1.141 > > > Regards, > > Peter > > > > >------------------------------------------------------- >This SF.net email is sponsored by: eBay >Get office equipment for less on eBay! >http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 >_______________________________________________ >phpslash-users mailing list >[email protected] >https://lists.sourceforge.net/lists/listinfo/phpslash-users ---------- TERIS Information Services BV Peter Termaten Phone: +31 23 565 2682 Aagje Dekenstraat 43 Fax: +31 23 565 2676 2135 RJ Hoofddorp Mobile: +31 653 65 8686 www.teris.nl ----------