Re: DataObject generator overwriting dataobject files?

From: Date: Mon, 05 Sep 2005 02:12:43 +0000
Subject: Re: DataObject generator overwriting dataobject files?
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-20780@lists.php.net to get a copy of this message
I've not seen that, - if you do find the source of the problem let me know. It could be 2 concurrent processes accessing the file in an unstable state (maybe we should use locking for file access??) Otherwise you might be best having a specific url to regenerate them. Regards Alan On Fri, 2005-09-02 at 10:24 -0600, Tim Glen wrote: > Hey all, > > I've been experiencing an odd problem the last couple of days. > - In my dataobject generated files, I have custom code for > formbuilder and other stuff (which I understand is the recommended > method). > - While I am in dev mode, every time a page loads, I call: > $gen = &new DB_DataObject_Generator; > $gen->start(); > - At seemingly random times, all the custom code in my files > disappears - it seems like the file is being overwritten from scratch > rather than edited only in the autocode section. > > To be clear, all my custom code is after this code, as it ought to be: > /* the code above is auto generated do not remove the tag below */ > ###END_AUTOCODE > I can't seem to reproduce this with any reliability which is why it > is freaking me out a little bit? Anyone have any ideas or suggestions? > > thanks, > tim > -- > tim glen > senior developer > nonfiction studios inc. > http://nonfiction.ca/ > p 403 686 8887

« previous php.pear.general (#20780) next »