<div dir="ltr">Ok. I found the problem. For seaside 3.0.9 I was loading these:<div><br></div><div><div><span class="" style="white-space:pre">        </span>spec</div><div><span class="" style="white-space:pre">                        </span>project: 'Seaside' with: [</div><div><span class="" style="white-space:pre">                        </span>spec</div><div><span class="" style="white-space:pre">                                </span>className: 'ConfigurationOfSeaside3';</div><div><span class="" style="white-space:pre">                                </span><b>loads: #('Core' 'Javascript-Core' 'JQuery-Core');</b></div><div><span class="" style="white-space:pre">                                </span>file: 'ConfigurationOfSeaside3';</div><div><span class="" style="white-space:pre">                                </span>repository: '<a href="http://smalltalkhub.com/mc/Seaside/MetacelloConfigurations/main">http://smalltalkhub.com/mc/Seaside/MetacelloConfigurations/main</a>';</div><div>].</div></div><div><br></div><div>But for Seaside 3.1 it should have been:</div><div><br></div><div><div><br></div><div><span class="" style="white-space:pre">                </span>spec</div><div><span class="" style="white-space:pre">                        </span>project: 'Seaside' with: [</div><div><span class="" style="white-space:pre">                        </span>spec</div><div><span class="" style="white-space:pre">                                </span>className: 'ConfigurationOfSeaside3';</div><div><span class="" style="white-space:pre">                                </span><b>loads: #('Core' 'Zinc-Seaside' 'Javascript' 'JQuery' 'JSON');</b></div><div><span class="" style="white-space:pre">                                </span>file: 'ConfigurationOfSeaside3';</div><div><span class="" style="white-space:pre">                                </span>repository: '<a href="http://smalltalkhub.com/mc/Seaside/MetacelloConfigurations/main">http://smalltalkhub.com/mc/Seaside/MetacelloConfigurations/main</a></div><div> ].</div></div><div><br></div><div><br></div><div>Basically....use the groups rather than individual packages. Clearly, I was missing some package...</div><div><br></div><div>Thanks!</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 14, 2014 at 4:48 PM, Mariano Martinez Peck <span dir="ltr"><<a href="mailto:marianopeck@gmail.com" target="_blank">marianopeck@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Tue, Oct 14, 2014 at 4:40 PM, Philippe Marschall <span dir="ltr"><<a href="mailto:philippe.marschall@gmail.com" target="_blank">philippe.marschall@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div>On Tue, Oct 14, 2014 at 4:06 PM, Mariano Martinez Peck<br>
<<a href="mailto:marianopeck@gmail.com" target="_blank">marianopeck@gmail.com</a>> wrote:<br>
> Hi guys, I am trying to migrate my app from Seaside 3.0.9 to seaside 3.1.3<br>
> and I am having a problem with JQAutocomplete. The problem is in<br>
> #search:labels:callback:. Basically, I am not able to serialize via JSON<br>
> what I was indeed able before. It seems the json serialization changed in<br>
> seaside 3.1 as I can read in the changelog. I have reproduced the problem up<br>
> to this snipet:<br>
><br>
> | dict stream |<br>
> dict := GRSmallDictionary new.<br>
> dict at: 'label' put: 'NONE'.<br>
> dict at: 'index'put: 1.<br>
> stream := GRPharoUtf8CodecStream<br>
> on: String new writeStream<br>
> converter: UTF8TextConverter new.<br>
> stream json: dict.<br>
><br>
> Anyone has an insigh of which should be the correct solution?<br>
<br>
</div></div>"Works for me" I get<br>
{"label": "NONE", "index": 1}<br>
what do you get?<br>
<br></blockquote><div><br></div></span><div>I get 'Override #jsonOn: to make the receiver serializeable as JSON'</div><span class=""><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Can you check #jsonOn: on Dictionary and GRSmallDictionary? It could<br>
be a loading issue. The methods have been moved around to different<br>
packages.<br>
<br></blockquote><div><br></div></span><div>Dictionary >> jsonOn: aRenderer</div><div><span style="white-space:pre-wrap">        </span>aRenderer object: [</div><div><span style="white-space:pre-wrap">                </span>self keysAndValuesDo: [ :key :value |</div><div><span style="white-space:pre-wrap">                        </span>aRenderer key: key value: value ] ] </div><div><br></div><div>GRSmallDictionary >> jsonOn: aRenderer</div><div><span style="white-space:pre-wrap">        </span>aRenderer object: [</div><div><span style="white-space:pre-wrap">                </span>self keysAndValuesDo: [ :key :value |</div><div><span style="white-space:pre-wrap">                        </span>aRenderer key: key value: value ] ]</div><div><br></div><div>See the attached screenshot. Maybe I can share a fueled out stack?</div><span class=""><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Cheers<br>
Philippe<br>
_______________________________________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org" target="_blank">seaside@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
</blockquote></span></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br>Mariano<br><a href="http://marianopeck.wordpress.com" target="_blank">http://marianopeck.wordpress.com</a><br>
</font></span></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Mariano<br><a href="http://marianopeck.wordpress.com" target="_blank">http://marianopeck.wordpress.com</a><br>
</div>