Problem when replacing a collection within a MagmaCollection

Amir Ansari fractallyte at csi.com
Wed Apr 13 20:34:19 UTC 2011


Oh dear!  For the example I provided, 'noteOldKeysFor' isn't working...

My original post was rather long and detailed, but the summary is: my MagmaCollection contains an array (of strings).  When I replace the array with a new set of strings, I can see they're there, but a keyword query returns zero results.

I tried this (and various permutations):

	MyDB session commit: [
		MyDB session noteOldKeysFor: myBowl.   "<- added this line, as indicated in the wiki"
		myBowl fruits: #('walnut' 'hazelnut' 'chestnut') ].


This query then fails:

	fruitbowls where: [ :each | each fruits includesAllOf: 'walnut' subStrings ].


Any idea where I'm going wrong?

Thanks!

Amir


> On Tue, 12 Apr 2011 11:38:42 -0500
> Chris Muller <asqueaker at gmail.com> wrote:
> 
> > Please see:
> > 
> >   http://wiki.squeak.org/squeak/2639
> > 
> > Your answer is at the bottom of that page.


More information about the Magma mailing list