[Solar-talk] _PostCreate _autoCreate ver0.25 ver0.26?
Rodrigo Moraes
rodrigo.moraes at gmail.com
Mon Feb 5 04:49:17 PST 2007
On 2/5/07, Jeff Surgeson wrote:
> Yes that would and does work I just don't think it is the way it is meant to
> be done, the Solar Apps autoCreate without any additional calls to
> _connect(), so how is it doing it?
By doing a fetch. Any call to fetch*(), insert() etc. will also call
_connect() and trigger the auto-creation process. The new behavior in
Solar 0.26 is: "do not try to auto-create right after construction.
Try it after _connect and if _config['create'] is true".
To have the old behavior back, you need to add _connect() to _setup().
rodrigo
ps: jeff, sorry for the duplicate. :)
-------------------------------
http://tipos.com.br
More information about the solar-talk
mailing list