mikeyc7m

yeah ok it was an onBeforeWrite extension - it did if( $thing = $this->owner->Related() ) instead of if( $thing && $thing->exists() ) stupid fake objects with ID=0

mikeyc7m

hey i've got some happy $belongs_to relations, but when i write() a new object it magically creates a related object. how can i prevent that? the related object doesn't even point back, they're just empty.

mikeyc7m

I've run into a problem upgrading an extension from ss3 to ss4. This extension is applied to FormField to add some protected variables, to be available to each type of field. In ss3 each field would store a unique value, but in ss4 they all share the same value. Is this an intentional change or a bug? How do I resolve in ss4?

mikeyc7m

there's no way to change the ClassName used in a DataList

mikeyc7m

yeah i've junked the modeladmin and i'll write my own so that it doesn't use $context

mikeyc7m
Files: Requires logging in with Slack to view/download
$context is using TFGOrder instead of Order