hi,

what you need to save is the persistent object, the one marked as ���isVoyageRoot��� in class side.

cheers,
Esteban

On 27 Apr 2018, at 14:44, sergio ruiz <sergio.rrd@gmail.com> wrote:


For some reason, I am not able to do this:

Object subclass: #TestBox
instanceVariableNames: 'origin corner pointList'
classVariableNames: ''
poolDictionaries: ''
category: 'PrintBot-Models���!

initialize
pointList := OrderedCollection new.


If i do something like below, I don���t see the list of points ever show up in mongo..

Ideas?

b := TestBox new.
b save.
p1 := Point x:0 y:0.
p1 save.
p2 := Point x:12 y:343.
p2 save.

b origin: p1.
b corner: p2.

b save.

b pointList add: p1.
b save.
b pointList add: p2.
b save.



----
peace,
sergio
photographer, journalist, visionary