LogicHooks before_save create new record

Hi,

For me you go in “infinite loop”.

Case 1 : you only set some bean field with data

Default : you create same custom bean and save … then before_save is fired again !

Easy solution, create bean by SQL.
Maybe another solution, more difficult, create bean after_save with some flag.
Or maybe by Workflow…